dbTalk Databases Forums  

Auto update date field

comp.database.ms-access comp.database.ms-access


Discuss Auto update date field in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default Auto update date field - 07-06-2004 , 10:22 AM






In Access 2000, can anyone enlighten a beginner with how to make a
date field in a table auto update evertime another field is updated?
In this case I want to update a field called ynDues2004 (a
yes/field) and have a field dtDues2004 update with the current date
when this happens.
Any help would be greatly appreciated, I let this go too long .
Thanks
Mike

Reply With Quote
  #2  
Old   
Ray
 
Posts: n/a

Default Re: Auto update date field - 07-08-2004 , 10:33 AM






web265 (AT) aol (DOT) com (Mike) wrote in message news:<1f1946ee.0407060722.43b60efe (AT) posting (DOT) google.com>...
Quote:
In Access 2000, can anyone enlighten a beginner with how to make a
date field in a table auto update evertime another field is updated?
In this case I want to update a field called ynDues2004 (a
yes/field) and have a field dtDues2004 update with the current date
when this happens.
Any help would be greatly appreciated, I let this go too long .
Thanks
Mike
Hello Mike,

Just add the following code into the After Update property of the
field ynDues2004:

dtDues2004.value = Date()

Regards,

Ray


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.