Solved

Crystal reports refresh

Posted on 2014-01-23
3
510 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
write xml in vb.net 2 32
vb.net class 3 21
Help with preventing selection from a combobox 11 34
Cant attach a pdf to a crystal report 3 17
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

840 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