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!

Report doesn't show latest data?

Status
Not open for further replies.

custsoft

Programmer
Aug 29, 2000
41
I am using VB 6 and updating an Access database with ADO. I am doing an Update to the ADODC. Then I do a movenext and then a moveprevious, so I make sure I am updating the database. I then call the crystal report, where I am printing a license that should show the new dog tag number that I just issued. The crystal report is pointing to the physical Access file that the ADODC is pointing to. It sometimes shows correctly and it sometime shows the previously issued tag number on the license report. Could the crystal report run before the database was updated even though the update, movenext, and moveprevious, are before the crystal line in VB? Any help would be appreciated. Thank You.
 
Use the DiscardSaveData property and set it to true.
Also u can remove the save data with report option in the file menu.

Vijay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top