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:
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
Statistic
FMM
Blog
IsError
Checks whether last plugin function returned error.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Plugin | 3.4 | Yes | Yes | Yes | Yes | Yes |
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.
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
- 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
- Merge PDF with table of contents
- Core Location Geocoder with JSON
- Create Barcodes on Server from FileMaker Go
- Our JavaScript engine for FileMaker
- With JSON in excellent form
FileMaker Magazin
- Ausgabe 6/2020, Seite 35
- Ausgabe 6/2020, Seite 34
- Ausgabe 6/2020, Seite 33
- Ausgabe 5/2020, Seite 19, PDF
- Ausgabe 4/2020, Seite 35, PDF
- Ausgabe 2/2020, Seite 38, PDF
- Ausgabe 6/2019, Seite 37, PDF
- Ausgabe 6/2019, Seite 36, PDF
- Ausgabe 6/2018, Seite 31
- Ausgabe 6/2018, Seite 30
Created 18th August 2014, last changed 21st October 2017
Feedback: Report problem or ask question.

Links
MBS FileMaker tutorial videos