473,395 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Smooth Refresh of calculated control

Hello everyone,

Is there any way to refresh a calculated control in a smooth fashion,
that is without having the control "empty" for - if only - just a split
second? I use a lot of them on my forms, but when they get refreshed
their contents flicker, because they briefly disappear before being
updated, making my form look kind of "restless", for lack of a better
word...

Thanks in advance

Jun 23 '06 #1
3 2722

am**********@yahoo.com wrote:
Hello everyone,

Is there any way to refresh a calculated control in a smooth fashion,
that is without having the control "empty" for - if only - just a split
second? I use a lot of them on my forms, but when they get refreshed
their contents flicker, because they briefly disappear before being
updated, making my form look kind of "restless", for lack of a better
word...

Thanks in advance


Hi Amstel Burger,

The best way to acheive this is to turn off the screen updating while
you update the control. You can do this with the 'Docmd.Echo False'
command, after you update the control you obviously must turn on the
screen updating again with the 'Docmd.Echo True' command.

Regards,

Nick

PS Beer and McDonalds?

Jun 23 '06 #2

Nick 'The Database Guy' wrote:
am**********@yahoo.com wrote:
Hello everyone,

Is there any way to refresh a calculated control in a smooth fashion,
that is without having the control "empty" for - if only - just a split
second? I use a lot of them on my forms, but when they get refreshed
their contents flicker, because they briefly disappear before being
updated, making my form look kind of "restless", for lack of a better
word...

Thanks in advance


Hi Amstel Burger,

The best way to acheive this is to turn off the screen updating while
you update the control. You can do this with the 'Docmd.Echo False'
command, after you update the control you obviously must turn on the
screen updating again with the 'Docmd.Echo True' command.

Regards,

Nick

PS Beer and McDonalds?


Hi Nick,

Thanks for the reply. I had already tried that for a number of times
but unfortunately, that doesn't do the job. I don't know why, maybe
that only works if a control's content is directed bij VBA, that's what
it looks like to me anyway.

PS The real "Happy Meal" ...

Jun 23 '06 #3
The only way I found to do this reliably (using Access97) was to use
the Picture command to change the picture contents in a image. Echo
never really helped for rapid updates. I use this method to update the
play-time counter (updated more than once a second) in the mp3-boss
application. You may want to take a look at that application to see
the results -- since calculating the results and then manipulating bmp
images is a lot of work!

Instead of going to the trouble of using picture controls...updating
the contents less frequently, or using a faster computer, makes the
flicker much less obvious.

John
http://www.mp3-boss.com

Jun 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Andrew Chanter | last post by:
I have a situation where I am using an unbound dialog form to update data in an Access 2002 split back end / front end scenario. The data update is done via an ADO call (direct to the back end...
2
by: S. van Beek | last post by:
Dear reader, I have a strange situation. In a Form with a list box to search for a record in the form it self. The field in the list box is also available in the form. On an other...
5
by: Bryan Young | last post by:
I am trying to smoothly refresh a page on an interval. I am using setInterval to set this up. When the interval expires, I do a document.form.submit(). When this line of code runs, Internet...
2
by: Geoff Jones | last post by:
Hi I have been using a smooth progress control using the following link: http://support.microsoft.com/default.aspx?scid=kb;en-us;323088#2 It works well, however I can't seem to get it to...
3
by: kelley.l.turner | last post by:
Hi all, I am very new to MS Access so please bear with me! I have created a simple calculated field in my data entry form, yet when I view my data table or try to generate a report based on...
4
by: midlothian | last post by:
Hello, I have conditional formatting set up on a subform based on a calculated value in the underlying query. For instance, if Sales are >$1000, the query displays "Yes," otherwise it displays...
2
by: JD | last post by:
Hello, I have webcams, and I want to display the images (jpg) from the cameras on a webpage, refreshed continuously. For a smooth transition I found a script that utilises double buffering....
7
by: active | last post by:
In control panel/Display/Appearance/Effects if : 'Use the following method to smooth edges of screen fonts' is checked and ClearType is selected in the combobox (no problem if Standard is...
8
by: m1post | last post by:
Hi, I'm very much a novice, and wondered if someone could help. I'll try to be as specific as possible, but don't waant you to have to read too much. I have 2 pages in the sequence. 1st allows...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.