can't get time stamp to work

  • Thread starter Thread starter KittyS
  • Start date Start date
K

KittyS

I have a form that has a change date on it: xChangeDate, which I want
stamped with Now() when I change anything on the record. I have code
that reads:

Private Sub Form_BeforeUpdate(Cancel As Integer)
xChangeDate = Now()
End Sub

but when I change a record, nothing at all happens. I had similar code
in another project that worked fine. What could I be doing wrong?

Thanks
Kitty
 
Hi Kitty,

perhaps it IS working... you just may not see the change
right away. Try putting

DoEvents

after the assignment

Have an awesome day

Warm Regards,
Crystal

MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com
 

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

Similar Threads

Modify Date procudure 2
DATEMODIFIED FIELD 1
Showing Date Stamp on Form 6
Modified date time stamp notworking ...Help 5
Required Entry 2
Record Stamping Woes 2
Date Time Stamp 1
Time Stamp form open and close 3

Back
Top