Date Range Parameter

Printed From: Crystal Reports Book — Forum Name: Talk with the Author

In my table I have a date field named WorkDate(which stores every working date the employee work for the day). I need a date range parameter where the start date and end date may be the Future Date. So how to pass that parameter?

If you want the parameters to be variable, you'll have to create 2 parameters. Then, in your record selection, create a formula like

{table.WorkDate} in {?StartDate} to {?EndDate}

When you run the report, it will prompt a screen where you can enter the start and end date.