View Full Version : Event for add-record nav button


MikeAngelastro
10-12-2001, 01:33 PM
Hi,

I have a form in which I a Key field - Year. I lock the field to prevent crytic error messages from Access. However, when the user presses the add-record navigation button, I want to unlock this field. But I can't figure out what event occurs when the user clicks this button. Any help?

Mike

Travis
10-12-2001, 02:41 PM
Try the Current Event

Then check if Me.NewRecord = True

or

BeforeInsert Event or AfterInsert Event

[This message has been edited by Travis (edited 10-12-2001).]

MikeAngelastro
10-15-2001, 12:58 PM
Thanks Travis.

Your advice worked very well.