A
Access Help
Hi all
I am trying to add a new record from the a parent form to child form, but
when I click the button in get the following "expression to you entered
refers to an object that is closed or doesn't exist"
here is my code
Private Sub CreateNewIssue_Click()
With Me!mycollection (childford)
.SourceObject = "index" (parent form)
.SetFocus
.Form!mycollection.SetFocus
End With
DoCmd.GoToRecord , , acNewRec
End Sub
Please help
Thanks
I am trying to add a new record from the a parent form to child form, but
when I click the button in get the following "expression to you entered
refers to an object that is closed or doesn't exist"
here is my code
Private Sub CreateNewIssue_Click()
With Me!mycollection (childford)
.SourceObject = "index" (parent form)
.SetFocus
.Form!mycollection.SetFocus
End With
DoCmd.GoToRecord , , acNewRec
End Sub
Please help
Thanks