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

Refreshing Crystal Reports through VB 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
When running a VB6 program and printing a crystal report, when in the preview window the report does not update with the new database information. Although in the Crystal Report program selecting Refresh Report Data updates the form. The option to update the report when printing is selected in the CRW32 program.
Am I missing a property in VB or in CRW32?
 
I had the same problem. I was trying to read from an access database, but the data would just not refresh.

Try adding this line ...

CrystalReport1.DataFiles(0) = "C:\TEST\db1.mdb"

I found this info in the Crystal Reports Developer Help file, which you may also find useful.
 
I have the same problem, but setting datafiles(0) does do anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top