Form flicker during calcs

G

Guest

Hi,

I have a few forms with various bound and / or calculated controls.

With some buttons / events, I need to process all records. I generally use

dim rs as dao.recordset
set rs=me.recordsetclone

do
rs.edit

....do crunching

rs.update
rs.movenext
loop

me.recalc
etc...

All code is working fine, except I seem to get form screen flicker. the more
detailed the manipulations, the more flicker.

Is there a more professional approach to editing data on forms? Should I set
form.visible=false for example?

Thanks in advance

swas
 
D

Douglas J. Steele

See whether setting

Application.Echo False

at the beginning (and

Application.Echo True

at the end) helps.

You might also have to issue a screen Repaint at the end.
 
G

Guest

Doug,

It works perfectly.


Thanks

swas


Douglas J. Steele said:
See whether setting

Application.Echo False

at the beginning (and

Application.Echo True

at the end) helps.

You might also have to issue a screen Repaint at the end.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top