>Hi Cetin
>
>I have tried it out, but why is the form/framework hijacking our on error stuff???
>
>>
on error llHadError = .t.
>>use myTable exclusive in 0
>
>even after the on error, the use line is errored out by the framework's error routine. Please advise.
Framework:( Override it or not use at all (not all the forms,controls need to be derived from framework forms/controls).
Simple work around is to use one of your own controls for this.ie: a button.
Maybe framework's error routine is also setting a flag. Check it.
Cetin