Hi Sylvain,
You probably tried the ON Error in the VFP command window, which works @my end too. Did you try using it in the form with Table Buffering. I havent checked with TRY-CATCH, but will post my results on the UT.
rgds
sanjay
>In my test, ON ERROR did trigger for a field validation error. You can also try with a TRY-CATCH.
>
>>Is there a way to CATCH the field validation error in the VFP front end?
>>
>>For Example : my validation rule for field "QTY" is QTY>0
>>
>>Message "Qty cannot be 0"
>>
>>What i am looking is to trap the above validation error in my application. "On Error" is unable to trap the database validation errors.
Sanjay Dhiraj Patel
MCSE, MCDBA
Net2Biz (Thailand)