Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lookup.ini question - create date

Status
Not open for further replies.

ddeegan

Programmer
Jun 17, 2002
193
US
Hello

I have a need for end users to use the create date of a record in filters.

I can update a date field based on the accountno in Contact2, but either the syntax in my Lookup is incorrect, or there is a problem with updating contact2 when a new record is created.

It doesn't look like a new record is automatically created in Contact2, is there a way to change this setting? (Make GM add a contact2 record when one is added to contact1)

Here is my Lookup.ini code...

[AutoUpdate]
NewRecord=udate5

[udate5]
Otherwise=&ctod(substr(accountno,3,2)+"/"+substr(accountno,5,2)+"/"+"0"+substr(accountno,2,1))
Overwrite=1

I've tried using "substring" instead of "substr", but didn't get this to work.

Any suggestions are appreciated.

Thanks
Dave


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top