>>VFP9SP2
>>
>>Hi,
>>
>>I would like to conditionaly stop a scan. The easiest way would be to {set escape on} and invoke the ESC key. However the application rules that 'settings' should not be used. Do we have an other option?
>>
>>Regards,
>>
>>Koen
>
>You set some variable and in the scan you check
>
>scan
>
> if m.StopExecution
> exit
> end
>
>endscan
But how does m.StopExecution get set? ON KEY LABEL ESC?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place