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.
CursorAdapter.BreakOnError [= 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.
Applies To: CursorAdapter Class