Help

Table Of Contents
Creating scripts to automate tasks
F
ILEMAKER PRO HELP 439
2. Verify that the object exists.
In some cases you have specified the object correctly and the "Object not found" error means that
the object does not exist. For instance, if you are specifying a field on a layout check to see that the
field exists and that it is on that layout. Also, when you use a Show command to find records and no
records are found, the result will be "Object not found."
Apple events error: "Data is being accessed by another user,
script, or transaction" (-10011)
This error can be generated if:
the Apple event is processing one or more records, and processing is prevented because
another user has one or more records locked up
access privileges prevent some records from being modified
an Apple event arrives while a script is being processed
other, similar events occur while a transaction is taking place
For Apple events that fail for one of these reasons, the locked/protected records will be skipped and
an error will be returned at the end of the transaction.
Apple events error: "Set Data failed. Invalid data was supplied" (-
17005)
This error occurs when you enter data into a field in the wrong format or when you enter a value in a
field that does not meet validation criteria set in Manage Fields.
This error can occur when you issue a set data, create record with data, or paste
command
to enter:
blank value in a field defined as "Not Empty"
duplicate value in a field defined as "Unique"
non-existing value in a field defined as "Existing"
value not in the range defined for a field
value that does not match the type validation
To correct the error:
1. Check the validation options that may be defined for the fields you are manipulating.
2. Examine the format of the data you are pasting and the format of the field. Do they match?
Note Container fields will accept QuickTime movies, TIFF, PICT, EPS graphics, PDF files, sounds,
and text.
Field type Accepted format Example
Date month/day/year
Note This is different from AppleScript's
default date format, for example, "Monday,
November 10, 2014 4:23:26 PM".
11/10/2014
Time hours:minutes:seconds 07:15:45 PM
Timestamp month/day/year hours/minutes/seconds format 11/10/2014 08:24:53 AM