S
Sheila D
Hi - I am using the Dateadd Function in an Update query to (try) to update
dates by 4 years as follows
DateAdd("yyyy",4,[LAST_CONTACT_DATE])
This takes (for example) 2001 and updates to 2009 - can't understand why. If
I then run again nothing happens at all. I can run with -4 and puts my dates
back as they were but can't get the correct value and does nothing if I run
it again. Am I missing something here..... here is the SQL
UPDATE T_Contacts SET T_Contacts.NEXT_CONTACT_DATE =
DateAdd("yyyy",4,[LAST_CONTACT_DATE])
WHERE (((T_Contacts.NEXT_CONTACT_DATE) Is Not Null));
Thanks for any help
Sheila
dates by 4 years as follows
DateAdd("yyyy",4,[LAST_CONTACT_DATE])
This takes (for example) 2001 and updates to 2009 - can't understand why. If
I then run again nothing happens at all. I can run with -4 and puts my dates
back as they were but can't get the correct value and does nothing if I run
it again. Am I missing something here..... here is the SQL
UPDATE T_Contacts SET T_Contacts.NEXT_CONTACT_DATE =
DateAdd("yyyy",4,[LAST_CONTACT_DATE])
WHERE (((T_Contacts.NEXT_CONTACT_DATE) Is Not Null));
Thanks for any help
Sheila