I am running a query that is trying to get parameters from a form. It bases the selection criteria on the value of an option group. I believe it needs to include quotes to make it a valid criteria. This is the statement I am using:
IIf(([Forms]![frmSalesHistory]![ReportOptions]=3),"1-0-25-3000",(Not Like "1-0-25-3000")
I have also created a function that would return the correct selection criteria but it included quotes I did not want.
Can anyone help?
IIf(([Forms]![frmSalesHistory]![ReportOptions]=3),"1-0-25-3000",(Not Like "1-0-25-3000")
I have also created a function that would return the correct selection criteria but it included quotes I did not want.
Can anyone help?