Greetings,
I am currently receiving a syntax error in the select expert for my record formula.
The formula uses a static parameter of type 'Number'.
I have added a value of 0.00 to the parameter with a description of 'ALL' to indicate select all integer variables.
The formula I have written is below:
{ACCOUNTS.ACCOUNT_NAME} = {?Account} and
IF {?GM Priority}=0.00 THEN {PRIORITIES.PRIORITY_ID} IN (1.00,2.00,3.00,4.00)
ELSE {PRIORITIES.PRIORITY_ID} = {?GM Priority}
Is the formula I'm trying to write possible with an IN clause (as I believe I can't use a LIKE clause with wildcards)?
If the parameter with value of 0.00 is selected I wanted to retrieve all records where the PRIORITY_ID is any of the following: 1.00, 2.00, 3.00, 4.00
Any assistance would be appreciated?
Edited by robtyketto - 16 Aug 2011 at 9:04am