Hi all,
I am using crystals parameters. I was wondering I have it setup to select data within a date range. How can I show this range on the report? Thanks in advance.
G
You could create a formula similar to the following:
Code:
"Date Range is from "
& Minimum({?YourDateRangeParameter})
& " to "
& Maximum({?YourDateRangeParameter})
This will show the dates in a default format.
If you wish to modify the formatting of the dates, then use ToText or CStr to give the date whatever formatting you wish.
eg
Code:
"Date Range is from "
& ToText( Minimum({?YourDateRangeParameter}), "MMM-dd-yyyy")
& " to "
& ToText( Maximum({?YourDateRangeParameter}), "MMM-dd-yyyy")
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.