Chapter 18. FileMaker Error Codes

Error Codes in FileMaker

FileMaker can generate a number of possible errors in the course of a script. In fact, FileMaker generates errors at various times, such as during normal use of the application—but in general these errors are reported directly to the user via a dialog box. It’s only during scripting, or during certain interactions with the Web Publishing Engine, 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.

Remember that the FileMaker error results that occur during scripts are transient. You must check ...

Get FileMaker 9 Developer Reference: Functions, Scripts, Commands, and Grammars, with Extensive Custom Function Examples now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.