Solved

Crystal reports refresh

Posted on 2014-01-23
3
517 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
[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
3 Comments
 
LVL 101

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 101

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

734 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