There is no sucha a exception handler in VFP 6. But You can manage it by old & tesed way:
old_error = ON("ERROR")
fl_error = .f.
ON ERROR fl_error = .t.
Do Whatevr You want
ON ERROR &old_error
IF fl_error
ENDIF
>I know I can use Try..Catch in VFP8. How about VFP6?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.