Solved

Refresh Crystal Report Data in VB 6?

Posted on 1998-12-31
2
584 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

863 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

26 Experts available now in Live!

Get 1:1 Help Now