Adding a new record line in a subform after pressing the Add button

hemolytucus

Registered User.
Local time
Tomorrow, 09:26
Joined
Feb 20, 2014
Messages
12
Hi All,

I'm doing a school project and just need to ask for your help. How can I add a new line of record below a previous record after pressing the add button? I have attached a picture of my project Thanks
 

Attachments

  • HireScreenShot.PNG
    HireScreenShot.PNG
    13.5 KB · Views: 106
In the command buttons OnClick event enter
Code:
DoCmd.GoToRecord , , acNewRec
 
I tried adding the code and it add new record added a new record but it didn't appear beneath the the previous record.
 
Show us a picture, or tell us what did happen.
You may have to add

Me.Requery
 

Users who are viewing this thread

Back
Top Bottom