Crystal Reports – creating a date parameter where the end date is always today’s date


It may be that you want to run a parameter query within Crystal Reports where you can choose the Start Date but the End Date is always going to be today’s date.

Create a parameter called Start Date which should be of type Date.  Now in the Select Expert, select the relevant date field and from the dropdown select is between. From the dropdown to the right of there, select {?Start Date}. In the lower box, type CurrentDate. Click OK.

Select Expert dialog box

You will then be asked for the Start Date but the End date will always be the current date.

Parameter query

Find out more about our Crystal Reports training Sydney, Australia or our Crystal Reports courses London, Surrey, Middlesex or our Crystal Reports courses Dorset, Hampshire, Wiltshire, England.

View original post


About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s