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

Report not refreshing in 7 (Using VB6)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
We have a Crystal Report Control on a form with a tab control. The tab is called "Report". When the form is loaded, the first time you click on the "Report" tab, it runs correctly. Then if you go to a different tab, change some data, save the data, and come back to the "Report" tab, the routine that opens and runs the report doesn't force the report to refresh the data. What I end up seeing is the same report as the first time it ran. Is there a way to tell the report to rerun?
 
On the form which contains the Crystal report, you take out a timer control and make to run for every 3 secs. In that you tell CrystalReport.Refresh, this is because when the crystal report is opened for the very first time, it has some RecordSelectionFormula, and once the data is changed, you need to either click on the refresh button, or change through code.

If not solved, let me know.

REgards,
Shivakumar G.M.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top