Solved

Refresh Crystal Report Data in VB 6?

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA Shell can't Find Word document 11 155
Problem to With line 4 86
which modules are active in VB6 project? 6 57
VBA: copy range dynamically based on config sheet v2 3 61
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

738 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