On 23/02/2016 16:30, Joe Yoder wrote:
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?
Try thisform.refresh just below thisform.statistics
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960