In further investigation into the memory usage issue, I have a question 

regarding MDI forms. 



I have a timer in Form A that calls Form B as follows 



---------------------------- 

Edit using AutoUpdate MDI as AutoUpdate 

Return. 

----------------------------- 

(There is nothing else in the timer but the above two lines) 



The form AutoUpdate has an On After Start EEP that does considerable 

calculations and data inserts into a table.   The EEP is : 



------------------------------- 

PROPERTY RBASE_FORM taskbarbutton 'true' 


--turn control back to calling form as this runs in the background 
PROPERTY 'Grader|RBASE_FORM' set_focus 'TRUE' 



...many other commands 



CLOSEWINDOW AutoUpdate 

RETURN 

------------------------------------- 



My question is it proper to close form AutoUpdate as above ? 



I call AutoUpdate as MDI and then return focus immediately back to Form A 

so the user can continue to enter data into the system without pause or 
interruption. 

AutoUpdate runs in the background making it's neccessary calculations etc.  



This works very well but I am seeing the memory increase situation on this app. 

I thought perhaps the CloseWindow command in the After Start EEP may be and 
issue. 



Thoughts anyone? 



Thanks 

-Bob 

  

Reply via email to