viperstingray
Registered User.
- Local time
- Today, 13:58
- Joined
- May 31, 2005
- Messages
- 87
hi. I would like my users to have the option of selecting a client (cboClient) and then to select a job type (cboMeasureType) and then have a report open up with that information in it. How would I do that. I currenty have the following in a command button but it does not work.
DoCmd.OpenReport "rptECM one page", acViewPreview, , "[Client Name] = " & "'" & Me.cboClient & "'" & "[Measure Type] = " & "'" & Me.CboMeasureType & "'"
I know that the following code works because it is in my program:
DoCmd.OpenReport "rptECM one page", acViewPreview, , "[Client Name] = " & "'" & Me.cboClient & "'"
I am not using any queries...I know, I know. I just didn't need one (so far). Can anyone help???
DoCmd.OpenReport "rptECM one page", acViewPreview, , "[Client Name] = " & "'" & Me.cboClient & "'" & "[Measure Type] = " & "'" & Me.CboMeasureType & "'"
I know that the following code works because it is in my program:
DoCmd.OpenReport "rptECM one page", acViewPreview, , "[Client Name] = " & "'" & Me.cboClient & "'"
I am not using any queries...I know, I know. I just didn't need one (so far). Can anyone help???