I have listed the code behind an IF Then Else statement that I'm attempting to use in a query.
It doesn't work because of a syntax error. Does anyone see the error?
If [Forms]![fReportQuerybyWMSApp]![Combo9] ="All"
Then "Inbound" Or "Outbound" Or "Inventory Management" Or "Returns" Or "Miscellaneous"
Else [Forms]![fReportQuerybyWMSApp]![Combo9]
End If
It doesn't work because of a syntax error. Does anyone see the error?
If [Forms]![fReportQuerybyWMSApp]![Combo9] ="All"
Then "Inbound" Or "Outbound" Or "Inventory Management" Or "Returns" Or "Miscellaneous"
Else [Forms]![fReportQuerybyWMSApp]![Combo9]
End If