Is it possible to 'abort' some processing loop? I tried the code below (form method) to no avail:
ONESCAPEThisForm.QuitProcess = .T.
ThisForm.QuitProcess = .F.
BEGINTRANSACTIONDOWHILE NOT ThisForm.QuitProcess
* here, we do stuff like calculations, record insertsENDDOIFThisForm.QuitProcess
ROLLBACKELSE
COMMIT
ENDIF