Andy,
VBA is event based. Something happens that triggers an event which if there
is code associated with the event will get run. I'd get rid of the button
on the form. Instead, I'd open my form in Design View, Click on the
Properties button to view the form's properties, click on the Event tab and
look for the AfterUpdate event. Then I'd open the Event Procedure Builder
(Code Builder) and put my code in there. That way, it all happens without
the user doing anything.
"Andy" <an******@hotmail.com> wrote in message
news:11****************@nnrp-t71-02.news.clara.net...
Thanks for your reply. I understand what you mean about a using a new
field in my table. Still cant get the function to work though. Have
created a button on my form but still not sure of the process to write the
current date to the table. I am currently playing with the Command Button
/ On Click / Expression Builder..... am I barking up the wrong tree??
Would be grateful for a bit more guidance !!
Thanks
Andy