J
Jane
Hello all (again)
Please could someone tell me what I am doing wrong here. It "should" be
simple I think. But, of course this isn't working.
Note. Both of the criteria are numbers
I am trying to open a pop up form filtered with both the school and class so
I need to pass both criteria.
Private Sub ClassSelector_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmClassPoPUp"
stLinkCriteria = "[SchoolID] =" & Me![SchoolID]
stLinkCriteria = "[ClassID] =" & Me![ClassID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thank you for any help you can give
Jane Hollin
Please could someone tell me what I am doing wrong here. It "should" be
simple I think. But, of course this isn't working.
Note. Both of the criteria are numbers
I am trying to open a pop up form filtered with both the school and class so
I need to pass both criteria.
Private Sub ClassSelector_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmClassPoPUp"
stLinkCriteria = "[SchoolID] =" & Me![SchoolID]
stLinkCriteria = "[ClassID] =" & Me![ClassID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thank you for any help you can give
Jane Hollin