Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form to add a new record...

Status
Not open for further replies.

grande

Programmer
Feb 14, 2005
657
CA
This is probably really easy, but I couldn't find it in the forums.

I click a button to open a bound form. How do I get the form to open to a new record?

-------------------------
Just call me Captain Awesome.
 
Either try setting the [tt].DataEntry[/tt] property of the form to yes, use [tt]DoCmd.GotoRecord,,acNewRec[/tt] in some relevant event (form load), or perhaps use acFormAdd as the [tt]DataMode[/tt] arguement of the [tt]DoCmd.OpenForm[/tt] method.

Roy-Vidar
 
Add the line below to the Open event of your form as code.

DoCmd.GoToRecord acActiveDataObject, "YourFormName", acNewRec

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top