Solved

Crystal reports refresh

Posted on 2014-01-23
3
508 Views
Last Modified: 2014-01-30
Hi,

when I have a crystal report open, and I make some changes to the database values through access, I often have to click the REFRESH button twice in order for it to update the data in the report. Why do I have to click it twice before it reacts?

Thank you,

F
0
Comment
Question by:FCapo
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39805175
WHen you click it once does the report react/refresh just not with the new data?

Do you work in Access then click on the Crystal window to give it focus then have to click twice or is the first click of refresh giving the Crystal window focus and the second is the command to Crystal?

mlmcc
0
 

Author Comment

by:FCapo
ID: 39806656
Hi,

I have another form open that's connected to my access database which the crystal report uses.

It has focus, when I click the refresh button, the spinning dialog appears showing it's working. Sometimes even after clicking twice it's still showing the unupdated version! I have to click 4-5 times.

I found that the only true way to do this is to close the form with the crystal report and re-open it, that's guaranteed to show me the updated version... I guess it is a bug.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39806756
When you save the data from the Access form, do you ensure it is written to the database?
I know with some databases you have to do something to ensure the data is actually written rather than just been scheduled to update.   I don't know if Access works that way or not.

It seems to be a timing issue between when the data is updated and when Crystal reads.  Crystal also will cache data to make future reads faster and by closing the form you are closing the cache.

mlmcc
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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