jenfish7871
New member
- Local time
 - Today, 10:33
 
- Joined
 - Jul 16, 2012
 
- Messages
 - 7
 
I am using Access 2010. I have setup a Navigation form (Navigation) and several subforms. On one form, Create New FP Sample, I have entered the following code to have it load a new record.
 
Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub
 
However, when I open the database, this form does not load a new record immediately. It will eventually load a new record after selecting a different subform several times.
 
I have another subform, Create New Ing Sample, with this same code and it loads a new record when opened just fine.
 
What am I missing? Is there a reason the one form would load the new record and the other would not?
 
Any help is greatly appreciated!
 Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub
However, when I open the database, this form does not load a new record immediately. It will eventually load a new record after selecting a different subform several times.
I have another subform, Create New Ing Sample, with this same code and it loads a new record when opened just fine.
What am I missing? Is there a reason the one form would load the new record and the other would not?
Any help is greatly appreciated!