T
tdp
Hi--I have read the posts on this subsection and the Forms subsection about
trouble opening a data entry form to a new blank record while still allowing
users to navigate to and edit the existing records, but am still wondering if
anyone can help me.
I have a form with a subform. In the "On Open" event of the form, I have:
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord , , acNewRecord
End Sub
Allow Additions, Allow Deletions, Allow Edits are all set to Yes.
Data from the form populates an underlying table.
When I open the form, I get the error "Run-time error '2105': You can't go
to the specified record."
Why not???
Thanks for any help,
tdp
trouble opening a data entry form to a new blank record while still allowing
users to navigate to and edit the existing records, but am still wondering if
anyone can help me.
I have a form with a subform. In the "On Open" event of the form, I have:
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord , , acNewRecord
End Sub
Allow Additions, Allow Deletions, Allow Edits are all set to Yes.
Data from the form populates an underlying table.
When I open the form, I get the error "Run-time error '2105': You can't go
to the specified record."
Why not???
Thanks for any help,
tdp