Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Crystal reports refresh

Posted on 2014-01-23
3
Medium Priority
?
523 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

670 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