Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit acceptable dates in a Parameter

Status
Not open for further replies.

pleashelp

Technical User
Feb 27, 2002
97
US
I am using CR 9.0. I have a report with parameters of
?StartDate and ?EndDate. I want to limit the acceptable range to 2 months. Is there a way to have a message pop up if the user puts in an end date that is more than 2 months ahead of the start date? I know that I can limit what actually comes up in the report by changing the select statement...but I was hoping to give the user a "heads-up" that a 3 month range (for example) was unacceptable.

Any ideas would be appreciated.
 
Crystal doesn't allow for programmable interaction with users.

You might do this by changing the record selection formula as a result and then unsuppress a warning in a section based on the unacceptable dates, or perhaps use an Event.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top