[Crystal Report Tips-development-2] report content instant Refresh

Source: Internet
Author: User
Tips | refresh | Crystal Report Many friends are having this little problem when they're programming with Crystal Reports.
The report is displayed correctly the first time it is loaded, but the contents of the report are not updated in time after the condition is replaced.
Although the Refresh method has been used on the Crviewer

In fact, as long as VB in a simple to fill the record set before the use of Discardsaveddata way to release the data cached in the Crystal Report can be

' Clear the data persisted in the report
Objcrreport.discardsaveddata
' Assign to report data
ObjCRReport.Database.SetDataSource rst

There is no Discardsaveddata method in the Crystal Report version included with VSNet2003.
I did not have a data refresh situation when I used it, so I didn't do a test directly.
But you can release the component when the interface is overloaded
Objreportdocument.dispose ()


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.