Mark Wilson
asked on
Parameters - bring all values back
I am using CR2008
I using a SQL command in my report.
I have a number values in a parameter and it allows multiple values
The synatx is as follows
where (MA_SchemeID IN {?Scheme} and {?Scheme} = 0)
I am using {?Scheme} = 0 to bring back all values, but this is not working
Can anybody help with the correct syntax?
Thanks
I using a SQL command in my report.
I have a number values in a parameter and it allows multiple values
The synatx is as follows
where (MA_SchemeID IN {?Scheme} and {?Scheme} = 0)
I am using {?Scheme} = 0 to bring back all values, but this is not working
Can anybody help with the correct syntax?
Thanks
Change "and" to "OR"
ASKER
Thanks for the answer
I have changed it to or and get the following error message
An expression of non-boolean type specified in a context where a condition is expected near a ','
I have changed it to or and get the following error message
An expression of non-boolean type specified in a context where a condition is expected near a ','
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If that doesn't help, post the new formula.
If this is part of the selection formula then please post the full formula.
mlmcc
If this is part of the selection formula then please post the full formula.
mlmcc
ASKER
Thanks - much appreciated
You're welcome. FWIW, Ido really deserves some of the points, because he posted part of the solution. If you like, you can ask to have the question re-opened and then split the points between us.
James
James