A common means is to set a default value, such as with text to "All".
So the record selection formula might look like:
(
If {?MyParm} <> "All" then
{table.field1} = {?MyParm}
else If {?MyParm} = "All" then
true
)
With dates or numerics, pick a value that is outside the scope of entered values, and in the prompting text describe that leaving the parameter to the default will ignore this parameter.
Note that the further qualification of Else IF provides for properly passing SQL to the database:
Also make sure that you use the CR supplied ODBC driver rather than the Oracle ODBC driver when using ODBC.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.