Subform total weirdness

K

kevin.witty

In one application I have, I have several forms which have subforms which
have totals of the details of the subform in the subform footers. At my
site, these USUALLY display correctly. At the client's site, they USUALLY
display BLANK, UNTIL you move the mainform window around a couple of times,
at which point they finally display. Mind you, no changes to the form, just
move it around the screen, and the subform's footer totals suddenly
magically appear. I'd put this down to form corruption, I guess, but it's
happened too often now in too many forms. (Access 2002, W2k here, /XP at
the client's.) Any ideas? Thanks, Kevin
 
A

Adrian Jansen

Try putting either a doevents or form refresh command immediately after the
code that does the total.

Windows multi-tasking means that there is no determinate order of
repainting/evaluation across machines, or even on the same machine at
different times.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

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