Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports don't show updated data!

Posted on 1999-01-07
4
Medium Priority
?
180 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
  • 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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

916 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