T
Tony
Hi,
How do I go to an exact record FROM a search form TO a
subform that is located on a tabbed from on my main form.
Can someone help?
Thanks
Tony
Private Sub lstResult_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmMainForm"
stLinkCriteria = "[EventID] = " & Me![EventID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "frmSearch"
End Sub
How do I go to an exact record FROM a search form TO a
subform that is located on a tabbed from on my main form.
Can someone help?
Thanks
Tony
Private Sub lstResult_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmMainForm"
stLinkCriteria = "[EventID] = " & Me![EventID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "frmSearch"
End Sub