Chapter 21. FileMaker Error Codes

FileMaker displays error dialogs during normal operation; for example, if you attempt to enter text into a date field, FileMaker displays a dialog telling you that the value must be a valid date. FileMaker also generates errors in the course of executing a script, and you need to understand how to detect and handle these errors.

It’s only during scripting, or during certain interactions with the Web Publishing Engine (WPE), that you are in a position to trap and examine the error codes FileMaker generates. To do so requires that Error Capture be set to On during the script and that the script developer use the Get(LastError) function to inspect any possible errors.

The FileMaker error results that occur during ...

Get FileMaker® 12 Developers Reference: Functions, Scripts, Commands, and Grammars now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.