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 Report Data

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am using VB6 and Crystal Reports 7. I created the report using the RDC (well, I imported the report) and it works fine in runtime. The report is based on data from a table in the database. Right now, I have to hit the refresh button on the viewer to see updated data. My question is, is there a way, in vb code, to have the data automatically refresh every time the report is opened?

Thanks!
 
Don't save the data with the report - just save the report file. Then, the first data you will see when the report is called will be the fresh data. Malcolm
Remember, if it wasn't for electricity, we'd be surfing the net by candlelight.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top