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

VB6 Datareport not printing up-to-date data...

Status
Not open for further replies.

GWhiz

Programmer
Dec 16, 1999
49
US
I'm writing a VB6 program which accesses/updates an Access-created database.<br>
<br>
Updates are posted to database as they happen (have looked at database immediately after update has executed) -- but VB6 datareport is always one step behind. If I terminate and re-start VB6 program, then print datareport, updated information shows up.<br>
<br>
Have tried to refresh/requery DataEnvironment connection as datareport is activated, but to no avail -- must terminate then re-start for datareport to show updated info, even though database shows updated info immediately (when looked at in Access environment).<br>
<br>
Any suggestions?
 
Every time before you show the datareport, you have to "requery" the datasource you're working from.<br>
<br>
rgds<br>
Marc<br>
<br>
marc_seys@oilpackers.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top