Problem when Using a TimeStamp

  • Thread starter Thread starter Chip
  • Start date Start date
C

Chip

Hi! I am trying build a TimeStamp function to capture the time and date of
the latest time a user has hit the "SAVE" button that i placed on the Form.
I also have used the "Combo Box Wizard" to create a "drop-down combo box" to
select the record of the form using the combo box. NOW THE PROBLEM: I am
using a line of code on the "On Click" event of the Save button that
populates the timestamp text box. As below:

me.timestamp = now()

it works fine except that if i use the "Record Selector Combo Box" then hit
the Save button more than once I see the following error.

"The DoMenuItem Action was cancelled"

What does that mean?

Then if I try to use the "Record Selector Combo" i receive the following
error:

Run-time error '2001'

You cancelled the previous operation.

what is the meaning of this?


I can remove the one line script of

me.timestamp = Now ()

and the "record selector combo" works correctly and no errors but no
stimestamp either. Can anyone help with this one?

I am New to VB so be gentle!!!

THANKS IN ADVANCE!!!
 
Back
Top