Joe,
Also sprinkle a number of Doevents around in your statistics method so that 
windows has enough time to regenerate the refresh loop.

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Joe Yoder
Sent: 23 February 2016 16:31
To: [email protected]
Subject: Controling the order/timing of processing after doing a form

The click method of a command button on my main form has the following code:
DO FORM DrillDown.scx
THISFORM.statistics

The secondary form updates data in a table.
The statistics method calculates statistics on the table and updates the screen

When the main form command button calls the code above, the screen is not 
updated immediately.
Another Debug button that calls the statistics method updates the screen 
properly.

What do I need to add so that the screen gets updated properly?

Thanks in advance,

Joe


--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to