Thanks for your answer Lockwelle,
let me put the question in another way (I'm kind of newbie, so please be patiente).
I'm using CRXI r2 with an Oracle database (no store procedures) and I'm talking about "optional parameters".
When the user runs the report he can choose from DateA and/or DateB and/or DateC (among other parameters).
What is happening is that all fields are mandatory and I can't left any date blank or the report will not run.
I tried to use a default value for dates and in 'Select Expert" used a formula like the one below for all 3 dates:
If {?DateA} = '31-12-2099' then
True
else
{table.DateA} = {?DateA}
I left 2 dates with 'default values' and the DateC with a correct date. It should return all records with the DateC, but it is returning all records without any filter.
What went wrong?