Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
IsError
Checks whether last plugin function returned error.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
Plugin | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Free |
MBS( "IsError" )
Parameters
none
Result
Returns 1 or 0.
Description
Checks whether last plugin function returned error.Returns 1 if last function returned an error.
Or returns 0 if no error happened.
This makes it easier to detect if the result text is an error message vs. a real result.
See also ClearErrors and HadErrors functions.
Examples
Cause an error and handle it:
Set Variable [ $r; Value:MBS( "ZipFile.Open"; "" ) ]
If [ MBS("IsError") ]
Show Custom Dialog [ Title: "Error"; Message: $r; Buttons: "OK”, "Abbrechen” ]
Exit Script [ ]
End If
See also
- X509.ReadFromFile
- X509.SubjectName
- XL.Book.AddPictureContainer
- XL.Book.DeleteSheet
- XL.Sheet.SetPictureWithSize
- XML.ExtractText
- XML.GetPathValue
- XML.Import
- XML.Import.Work
- XML.SubTree
Blog Entries
- MBS Plugin 12.2 for Claris FileMaker
- Trace with parameter names
- Convert HEIF images if needed
- Watching for Errors with MBS Plugin
- Generate EPC-QR-Code in FileMaker
- Adding cutting lines for PDF in FileMaker
- Save PDF to container in FileMaker
- Record Creation Script Trigger
- Socket changes for MBS FileMaker Plugin
- Query FileMaker records as JSON
FileMaker Magazin
Created 18th August 2014, last changed 28th April 2022
Feedback: Report problem or ask question.
