Hi Borislav,
Will try this out. Get back to you asap. Thanks.
>>Hi All,
>>
>>Is it possible to 'abort' some processing loop? I tried the code below (form method) to no avail:
>>
>>
>>
>>ON ESCAPE ThisForm.QuitProcess = .T.
>>
>>ThisForm.QuitProcess = .F.
>>
>>BEGIN TRANSACTION
>>
>>DO WHILE NOT ThisForm.QuitProcess
>> * here, we do stuff like calculations, record inserts
>>ENDDO
>>
>>IF ThisForm.QuitProcess
>> ROLLBACK
>>ELSE
>> COMMIT
>>ENDIF
>>
>>
>>Thanks in advance!
>
>Put DO EVENTS somewhere in the loop.