ramkrish11
Programmer
Hi Folks,
Was trying to use a Daterange Parameter eg(DAILY, MONTHLY, YEARLY,ADHOC) as one of the parameters to the report.
Based on the above parameter, I populate the Start and End Date parameter in the record selection formula editor.
Problem 1: How do I make Start Date and End Date parameter optional ? ie For Daily, monthly, yearly in DateRange, user does not need to enter any start date, end date but for adhoc he needs to. Right now, report wont proceed without entering something in these parameter fields. How do I get around it ?
Problem 2: THe SQL to which I pass the start date and end date parameters is a "Add Command" SQL and it doesnt even seem to realize I have something in the record selection formula (makes sense, since the SQL is kind of stand alone). So question, how do I make Crystal look at recod selection formula before it starts to execute the SQL.
We are using Crystal Reports XI with Oracle 9.2 database.
Thanks very much for your help.
Ram
Was trying to use a Daterange Parameter eg(DAILY, MONTHLY, YEARLY,ADHOC) as one of the parameters to the report.
Based on the above parameter, I populate the Start and End Date parameter in the record selection formula editor.
Problem 1: How do I make Start Date and End Date parameter optional ? ie For Daily, monthly, yearly in DateRange, user does not need to enter any start date, end date but for adhoc he needs to. Right now, report wont proceed without entering something in these parameter fields. How do I get around it ?
Problem 2: THe SQL to which I pass the start date and end date parameters is a "Add Command" SQL and it doesnt even seem to realize I have something in the record selection formula (makes sense, since the SQL is kind of stand alone). So question, how do I make Crystal look at recod selection formula before it starts to execute the SQL.
We are using Crystal Reports XI with Oracle 9.2 database.
Thanks very much for your help.
Ram