FileMaker Pro Error Codes
FileMaker returns Error Codes when they occur.
When developing and running scripts, these error codes give us feed back as to what happened so scripting can solve it’s own problems. Frequently, error code evaluations are decision or trigger points in scripts for adjusting to circumstances.
To use FileMaker Error codes in your scripts, we first need to set “Error Capture” to “On”… so earlier than the decision point, we need to have the script command;
Set Error Capture [on]
After we have an executed the script step that would product an error, such as “Perform Find”, we need to test for an error with the Get(LastError) command.
For Example, lets say that you want to have a script find for something and tell the user that none exist if that is the case.
Script Steps:
• Set Error Capture[On]
• Enter Find Mode
• Set Field[TABLE_1__::find_field; $DesiredFindResult]
• Perform Find
• If[get(lasterror)>0]
• Set Field[TABLE_1::z_tempErrorReturn_g ; get(lasterror) ] (or do something else like show all records)
• Show Custom Dialogue [ No Records Were Found that matched your requests]
• Halt Script
• End If
FileMaker Pro 9 Error Codes
Error Number Description
|
Wrong version of FileMaker Pro used to recover file
|
|
|
Unsupported Excel version (convert file to Excel 7.0 (Excel 95), 97, 2000, XP, or 2007 format and try again)
|
|
|
File is not a FileMaker Pro file or is severely damaged
|
|
|
AVERAGE, COUNT, EXTEND, GETREPETITION, MAX, MIN, NPV, STDEV, SUM and GETSUMMARY: expression found where a field alone is needed
|
|





5 Comments, Comment or Ping
Posted by Sue Quinlan on Nov 17th, 2008 at 11:05 am
the above list. Can you define this error code and what might cause it?
Thanks,
Sue
Posted by Sue Quinlan on Nov 17th, 2008 at 11:07 am
812 is not on the list. Please define. Thanks.
Posted by cwxwwwxwwxwx on Dec 23rd, 2008 at 11:42 am
well, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch
Posted by Jay Skulk on Jan 16th, 2009 at 9:09 pm
What does the 102 error “Field is missing” mean? How do I delete that empty field from the database?
Posted by corey smith on Mar 19th, 2010 at 1:23 pm
error code: 807. how do you fix this? i tried recover but the file doesnt open.
Reply to “FileMaker Pro Error Codes”