New Record

K

Karen53

Hi,

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

Thanks
 
J

Jerad Klingen via AccessMonster.com

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

I believe
 
B

BruceM

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
 
Top