code for to set the form to new record as it open

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

dear friends,
my form setting to the first record of the table as it opens but i want the
the form to get set for a new record how to this programatically
(WITH OUT SETTING THE DATA ENTRY TO TRUE)
Kindly advise please
 
In the form's Open event:
DoCmd.RunCommand acCmdRecordsGoToNew

The form must have AllowAdditions set to True

HTH,

Rob
 

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

Back
Top