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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports cache

Status
Not open for further replies.

Wes98765

Programmer
Jul 31, 2002
135
US
I have a couple crystal reports in my project. Crystal asks the user for a date range to pull the reports. For some reason once the date range is entered Crystal will not prompt for dates again until the entire project is closed and reopened? Is there an onunload method that I need to use to clear the report so it asks for the date range when it is reloaded?

Thanks for any help

Wes
 
Depends on how you're calling the reports. If you're using the OCX (Crystal Report Control), the report object has a DiscardSavedData property that you would set to 1 (True). If you're using the RDC (Report Designer Component), the report object has a DiscardSavedData method that you would call before viewing the report.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top