Solved

Crystal reports refresh

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

17 Experts available now in Live!

Get 1:1 Help Now