Get(ErrorCaptureState)

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 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net