Open a Form ready to add a new record

smeagain

Registered User.
Local time
Today, 14:54
Joined
Jan 5, 2011
Messages
26
Hi, I have created a form, but when I open it, it opens displaying the last record entered, How can I make the form open blank and ready to add a new record.
 
Set the Data Entry property to True and make sure Allow Additions is also set to Yes
 
David's solution will only allow new records to be added; you will not be able view existing records using your form.

If you need to open your form to a new record and be able to view existing records, as well, you can use this code:
Code:
Private Sub Form_Load()
  DoCmd.GoToRecord , , acNewRec
End Sub
Linq ;0)>
 
THANK YOU!!! I tried the first response (Access 2010) and got the results you predicted...then I tried your way and it works.

THANK YOU!!!
 

Users who are viewing this thread

Back
Top Bottom