Category: Get
Syntax: Get ( ErrorCaptureState ) |
Parameters: None
Data type returned: Number
Description:
Returns 1 if Set Error Capture has been set to On, and 0 if Set Error Capture was either not set or set to Off.
It is not possible to tell with the Get (ErrorCaptureState) function whether Error Capture was explicitly turned off or simply not set.
Examples:
In the following script
Set Error Capture [Off] Show Custom Dialog [ Get (ErrorCaptureState) ]
the custom dialog displays 0.
In the following script
Set Error Capture [On] Show Custom Dialog [ Get (ErrorCaptureState) ]
the custom dialog displays 1.
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information