Simple question from a beginer

R

Robert Gillard

I have a form called Access which has a field called DPA Sent. After a
certain criteria has been completed I want the field to be filled with the
date and time.
The initial part of the program runs ok, I now need the date to fill in and
I am using the following

DoCmd.SetValue, Forms!Access![DPA sent]=Now()

but this gives an answer of "Method or data member not found"

Can you please advise me how I should phrase this command

with thanks

Bob
 
K

Ken Snell

Just use the straightforward step (DoCmd.SetValue isn't needed for this):

Forms!Access![DPA sent]=Now()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top