Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access 2003 open a subform from a second subform on the same parent

Status
Not open for further replies.

SKBrede

Programmer
Dec 11, 2008
9
US
I can not open a second subform from a first subform using

Public Sub OpenScheduleDetails(passedJobID As Variant)
Dim JID As String
JID = passedJobID
DoCmd.OpenForm "forms![frmMS]![frmControlDispatch]", , , "JobID = " & JID
End Sub

Where the parent form is frmMS and the subform I wish to open is frmControlDispatch. The above procedure is called from a double click event in a second subform on frmms

Keep getting error as forms![frmMS]![frmControlDispatch]
is misspelled or doesnt' exist
 
Please post Access FORMS questions in Forum702

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top