[AccessD] Halting Execution of Function when form opens and resuming afterwards

Tom Keatley tom.p at piedpiper.com.au
Thu Mar 30 17:33:11 CST 2006


Hi all.....

I have a function(1) that is looping through customer records and calling 
another function(2) during each iteration to re-calculate what that customer 
owes...

If the function(2) finds an imbalance between what was previously calculated 
and what is being calculated now I have it opening a form showing the two 
sets of calculations to allow the amounts to be edited. The criteria for 
opening the form is actually part of the 2nd function

This works fine when used for a single customer but as part of the above 
loop the form pops up when it is needed but the loop continues to execute 
behind it

How can I make the execution of the loop suspend until I close the form? and 
then continue.....

As always any help would be appreciated

Regards

Tom Keatley 




More information about the AccessD mailing list