![]() |
Next Page |
| Contents > Script steps reference (alphabetical list) > Control script steps > Set Error Capture script step |
|
|
| Set Error Capture script step |
| Format |
Set Error Capture [<on or off>] |
| Options |
| On suppresses FileMaker Pro alert messages and some dialog boxes. If the error result is 100 or 803, then certain standard file dialog boxes are suppressed, such as the Open dialog box. |
| Off re-enables the alert messages. Set Error Capture suppresses normal FileMaker Pro alert messages. |
| Web compatibility |
| This script step is not web-compatible. |
| Description |
| Sends error handling information to the Get(LastError) function after a FileMaker Pro script is running. By checking the status of the Get (LastError) function immediately after a script step, you can verify that the step was performed properly. |
| Note Use Get (LastError) immediately after the script step you intend to test; a successful intervening step may clear the error code you were intending to capture. |
| Example |
| Related topic |
| Script steps reference (alphabetical list) |
| Script step categories |
|
|
| Contents > Script steps reference (alphabetical list) > Control script steps > Set Error Capture script step | Next Page |