SetCatch Method
Class: _DBC
This method set mode error catching.
=
Object.SetCatch
Parameter
llCatch
Catch mode
Type Boolean
Direction Input
Catch mode.
ValueDescription
.T.Catch mode
.F.Error mode
.NULL.Ignore mode
Return value Integer
Previous catch mode.
Example
See to source code of _DBC::OpenTable().


See also
Expand/Collapse source code of procedure SetCatch Source Code
 LPARAMETERS llCatch
      * llCatch - Mode cathing (.T. - catch, .F. - nocatch, .NULL. - nocatch,???? )


      LOCAL luCatch
      luCatch=This.Catch
      This.Catch=llCatch
      IF llCatch && If catching
         * the reset error and message number
         This.nErr=0 
         This.cErrMSG=""
      ENDIF
      RETURN luCatch && Return old catch flag