New Record

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

Guest

Hi,

I want to open a form with DoCMD. How do I set it to open set to a new
record?

Thanks
 
DoCmd.OpenForm "FormName"
DoCmd.GotoRecord , , acNewRec

I believe
 
Docmd to open the form would I suppose be in a command button on another form
or something like that. All you will be doing is setting theprocess in
motion to open the form. The Open event for the form you are opening will
take care of starting at a new record if you add the following to its Open
event:

DoCmd.GoToRecord , , acNewRec
 

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