C
Corn Dog
Ok this is SOME of the code I have in a form that opens a
report based on the value chosen from a combo box Combo0.
Private Sub Combo0_Click()
DoCmd.OpenReport Me!Combo0.Value, A_PREVIEW 'Open
Customers report.
DoCmd.Maximize 'Maximize the report window.
ChosenRpt = Me!Combo0.Value
End Sub
..
..
..
Reports![rptCustomers].Filter = strSQL
Reports![rptCustomers].FilterOn = True
Problem is the [rptCustomers] is static, I cant figure out
how to get the Me!Comb0.Value to work with the
Reports!........Filter = strSQL
Anyone know what I need to put?
report based on the value chosen from a combo box Combo0.
Private Sub Combo0_Click()
DoCmd.OpenReport Me!Combo0.Value, A_PREVIEW 'Open
Customers report.
DoCmd.Maximize 'Maximize the report window.
ChosenRpt = Me!Combo0.Value
End Sub
..
..
..
Reports![rptCustomers].Filter = strSQL
Reports![rptCustomers].FilterOn = True
Problem is the [rptCustomers] is static, I cant figure out
how to get the Me!Comb0.Value to work with the
Reports!........Filter = strSQL
Anyone know what I need to put?