Default Add mode on current form

Paul Wagner

Registered User.
Local time
Today, 15:03
Joined
May 18, 2004
Messages
48
I've created a form with Record Navigator which allows a user to create a new record. When the form is opened how do I immediately put the user into add mode by default?

Thanks
 
You can either put the following in the form's load event:

Code:
DoCmd.GotoRecord , , acNewRec

Or open the form in the add mode

Code:
DoCmd.OpenForm "FormName", , , , acFormAdd
 
Perfecto!... Thanks for the education, I would have spent two hours looking this up. Great. Just Great :D
 

Users who are viewing this thread

Back
Top Bottom