Solved

Refresh Crystal Report Data in VB 6?

Posted on 1998-12-31
2
583 Views
Last Modified: 2012-08-14
How do I refresh the data in a crystal reports file in Visual Basic 6.0.  Once records our entered via my VB user interface, the crystal reports file is not updated.  I now how to refresh within Crystal Reports but when I distribute my VB application, the code must somehow refresh the crystal reports file.  

Please help . . . . thank you
0
Comment
Question by:daverey
2 Comments
 

Accepted Solution

by:
wenchang earned 100 total points
ID: 1453510
at crystal report side open your report.then under "File" uncheck the "Save data with report" and under "Database" checked the "Verify on every print"
0
 

Author Comment

by:daverey
ID: 1453511
wenchang,

Your response is greatly appreciated.  It is refreshing now, and this is what I did based on your information:  I unchecked "Save data with Report", removed the password from my Access database, and I did not check "Verify on every print".  This is the only way it worked.  I was curious on how I can still keep the Access database password protected and make the refresh work--it wouldn't work unless I removed the password.  In the future I want to migrate this Access database to SQL Server and I am sure that I will run into problems with password at that juncture.  Your comments are are greatly appreciatted.

Thank you . . . . daverey
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now