in

InaPlex Forums

Forums and downloads for InaPlex customers and partners.

Contsupp.City field Date

Last post 04-03-2009 18:12 by admin. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-17-2009 17:29

    • Sukh
    • Top 10 Contributor
    • Joined on 11-07-2008
    • Posts 17

    Contsupp.City field Date

    Hi

    How can I send the 'City' field from the Contsupp table across as a date field as I need to send across a creation date field.  So an example of the city field entry when record is created is "MASTER 2009031711:16AM".  I need to send this across as a date in format 17/03/2009. 

    Many Thanks

  • 03-18-2009 0:04 In reply to

    Re: Contsupp.City field Date

    Hi Sukhdeep

    Not clear why you want to do this. The CITY field is used by GoldMine to store the user/createdate; nearly all contsupp rec types do this, and I would not advise doing something different.

    You could store your information in the DEAR or FAX field perhaps.

    Regards

    Admin

    Filed under:
  • 03-18-2009 11:43 In reply to

    • Sukh
    • Top 10 Contributor
    • Joined on 11-07-2008
    • Posts 17

    Re: Contsupp.City field Date

    Hi

    I don't want to change the CITY field.  As the CITY field shows the date a record was created I want to send the date from the CITY field across to a field on my website.  So I create a record and it is stamped in CITY field as MASTER 2009031811:45am.  This is fine and I do not want to change this.  What I need Inaport to do is to get the date from this field and send it across to my date field on my website.

    Cheers

  • 03-18-2009 20:51 In reply to

    Re: Contsupp.City field Date

    Hi Sukhdeep

    Sorry for misunderdstanding. the CITY field is a string, so the first thing is to extract the date:

    find(#CITY, "\d{8}")    -  extract a sequence of 8 digit characters

    Second is to convert this to a date:

    s2d(find(#CITY, "\d{8}"), "yyyyMMdd")    -  convert string to date

    You should now have a valid date field that can be mapped to the target.

    Regards

    Admin

    Filed under: ,
  • 03-19-2009 10:45 In reply to

    • Sukh
    • Top 10 Contributor
    • Joined on 11-07-2008
    • Posts 17

    Re: Contsupp.City field Date

    Brilliant

    That worked a treat

    Many Thanks

  • 03-19-2009 18:20 In reply to

    Re: Contsupp.City field Date

    Glad it worked.

    Regards

    Admin

  • 04-03-2009 16:27 In reply to

    Re: Contsupp.City field Date

    Hi

    I've read your post about the sql query to update the contsupp table and thought I'd try it but when I select the sql query match type, it reverts to "no match". I suspect that this factility is available only in the professional edition and not the standard version that I think I bought. Do you know if that's true and if so, is there anyway that I can update the contsupp table with a custom detail record using the standard edition/

    Thanks for your help.

    Kim

  • 04-03-2009 16:29 In reply to

    Re: Contsupp.City field Date

    Duh! Wrong thread - my abject apology.

    Kim

  • 04-03-2009 18:12 In reply to

    Re: Contsupp.City field Date

    No problem

Page 1 of 1 (9 items)
InaPlex Limited 2011