>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
If it's not broken, fix it until it is.
My Blog