Link to home
Start Free TrialLog in
Avatar of Mark Wilson
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
Avatar of Ido Millet
Ido Millet
Flag of United States of America image

Change "and" to "OR"
Avatar of Mark Wilson
Mark Wilson

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 ','
ASKER CERTIFIED SOLUTION
Avatar of James0628
James0628

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If that doesn't help, post the new formula.

If this is part of the selection formula then please post the full formula.

mlmcc
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