?
Solved

Crystal Reports don't show updated data!

Posted on 1999-01-07
4
Medium Priority
?
178 Views
Last Modified: 2010-05-03
I am working in VB5, and in my application, I have ActiveX controls for Crystal Reports.  When I open reports from VB5, the data shown is not the current data.  All my reports are linked to an Access database.  The actual database looks fine.  What is it that I am doing wrong?
0
Comment
Question by:jych
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:levaz
ID: 1454689
Once you have your report open in Crystal Reports make sure you uncheck the following under File on the menu bar:
'Save Data With Report'.
Now save it and you should be in business...
0
 

Author Comment

by:jych
ID: 1454690
I did uncheck "Save Data with Report", and in VB5, I have also set "DiscardSavedData" to TRUE.  Still, the data doesn't seem to be getting refreshed in VB.  Everything works out well in the Crystal Report program.  
0
 

Author Comment

by:jych
ID: 1454691
Another bad news, it doesn't seem to be working in Crystal Reports either.  My data is not getting refreshed.  I am not saving any data with the report, I am also refreshing data on every print.  Still its not working. :( Any help ASAP will be greatly appreciated.
0
 

Accepted Solution

by:
wenchang earned 400 total points
ID: 1454692
in addition to unchecking the "Save data with report" option, you must checked the "Verify on Every Print" option under Database
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question