BreakOnError Property
Specifies whether Visual FoxPro permits errors to break program execution at the location where they occurred or sends them to the cursor adapter. Read/write at design time and run time.
BreakOnError applies only when the cursor adapter executes an event or an SQL INSERT, UPDATE, or DELETE command.
CursorAdapter.BreakOnError [= lValue]
Property Values
- lValue
Logical data type. The following table lists the values for lValue.lValue Description False (.F.) Visual FoxPro does not display an error message and sends the error to the cursor adapter. (Default) This behavior is the same as if Visual FoxPro raised an error, and the user cancelled execution. The error routine makes the last unhandled error available to the calling routine.
True (.T.) Visual FoxPro permits the execution of the event or method to break at the location where the error occurs and displays an error message.
See Also
Properties | CursorAdapter Object Properties, Methods, and Events
Applies To: CursorAdapter Class