I can not open a second subform from a first subform on the same parent - I am using the following procedure that is called from a double click event on the first subform
Public Sub OpenScheduleDetails(passedJobID As Variant)
Dim JID As String
JID = passedJobID
DoCmd.OpenForm "forms![frmMS]![frmControlDispatch]", , , "JobID = " & JID
End Sub
I have tried many variation on the form address syntax but continue to get the following error mssg
form [frmMS]![frmControlDispatch] is either missing for is misspelled.
Any help would be appreciated
Public Sub OpenScheduleDetails(passedJobID As Variant)
Dim JID As String
JID = passedJobID
DoCmd.OpenForm "forms![frmMS]![frmControlDispatch]", , , "JobID = " & JID
End Sub
I have tried many variation on the form address syntax but continue to get the following error mssg
form [frmMS]![frmControlDispatch] is either missing for is misspelled.
Any help would be appreciated