For my question here are the following:
Form Name: popup; Combo1 is the name of the Combobox I want to pass information to my report on load to filter the report output.
Query report is based on: Open Issues
Report Name: Active Issues by Physician (field I want to filter is Provider Name)
I have the form built and here is the code behind the cmd button set OnClick:
I have also set my report to Yes for the Filter on Load property for the Report as the Selection Type. In the Filter property I have the following:
Currently, I'm getting my report output as if I have not selected anything in my ComboBox from the popup form.
Any and all help is much appreciated!!
Form Name: popup; Combo1 is the name of the Combobox I want to pass information to my report on load to filter the report output.
Query report is based on: Open Issues
Report Name: Active Issues by Physician (field I want to filter is Provider Name)
I have the form built and here is the code behind the cmd button set OnClick:
Code:
Private Sub Command6_Click()
On Error GoTo MyError
DoCmd.OpenReport "active issues by physician", acViewReport
Leave:
Exit Sub
MyError:
MsgBox "Error " & Err.Number & ": " & Error$
Resume Leave
End Sub
Code:
Provider Name=forms![popup]![combo1]
Any and all help is much appreciated!!
Comment