Hi
I have the code below on a button on a report:
And this works fine, but if I want to set the parameter "Statuses" to a range I tried:
Is it possible to set parameters to ranges or multi values or just a single string?
Thanks.
I have the code below on a button on a report:
Code:
Private Sub Command53_Click()
DoCmd.OpenForm "frmWaitMessage"
DoCmd.SetParameter "Letter-Received", True Or False
DoCmd.SetParameter "1A-Received", True
DoCmd.SetParameter "Statuses", 1
DoCmd.SetParameter "Qty-Identified", 2
DoCmd.OpenQuery "qryCall_Activity_Viewer", , acReadOnly
DoCmd.Close acForm, "frmWaitMessage", acSaveYes
DoCmd.SelectObject acQuery, "qryCall_Activity_Viewer", False
End Sub
And this works fine, but if I want to set the parameter "Statuses" to a range I tried:
- >0
- Between 1 and 3
- 1 Or 2 Or 3
Is it possible to set parameters to ranges or multi values or just a single string?
Thanks.