G
GMac
Hello,
I am still having problems getting this to work. My goal is I have a form
that has a drop down list of all associate id's that are in the data base.
After the individual associate id is selected then i click on the view report
command button that opens the report show just that individuals records. Here
is what I have so far for the command button event. I still can't get it to
work!
Dim strWhere As String
Dim stDocument As String
strWhere = "1=1"
If Not IsNull(Me.cboAssocID) Then
strWhere = strWhere & " AND [Outline].[Associate ID] = " & Me.cboAssocID
End If
stDocument = "Program Outline"
DoCmd.OpenReport stDocument, acPreview, , strWhere
Thanks, greg
I am still having problems getting this to work. My goal is I have a form
that has a drop down list of all associate id's that are in the data base.
After the individual associate id is selected then i click on the view report
command button that opens the report show just that individuals records. Here
is what I have so far for the command button event. I still can't get it to
work!
Dim strWhere As String
Dim stDocument As String
strWhere = "1=1"
If Not IsNull(Me.cboAssocID) Then
strWhere = strWhere & " AND [Outline].[Associate ID] = " & Me.cboAssocID
End If
stDocument = "Program Outline"
DoCmd.OpenReport stDocument, acPreview, , strWhere
Thanks, greg