Script Steps Reference

Table Of Contents
Records script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 127
Specify import order tells FileMaker Pro to use a predefined import order. The last import
order used in the file appears as the default and can be edited. This option also lets you
choose whether to keep repeating field data together or to split repeating fields into
separate records, as well as whether to add new records, replace data in the current
found
set, or import data as a new table.
Note When import source fields and target fields are mapped using matching names, field
name matching is performed dynamically each time the script step is performed.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
You can set the import order and use the Specify import order option, or perform this script step
with the dialog box so the user can set new criteria, such as importing data as a new table.
If the source file is open, the found set is imported; if not, all records in the source table are
imported.
If you include this script step in a server-side script and you do not set With dialog to Off, the text
(NOT compatible) appears after the script step. The script, however, will run. The behavior will be
the same as if With dialog is Off. See Get(DocumentsPathListing) function for more information.
If you run a server-side script to do any of the following, you will receive an error:
importing records to new table
importing records from a folder
importing images to a container field
ODBC Data Specify the data source name and location, the user ID and password (if any),
and the SQL query to be executed. You can enter a query directly or specify a
calculation to generate the query. For more information, see Automating ODBC
import using the Import Records script step.
SQL statements are limited to a maximum length of 256 K characters (512 KB).
Note If you use the Import Records script step to import ODBC data that
contains Unicode strings, your ODBC driver must support Unicode. Otherwise,
the results may be inconsistent.
When you
choose this file
or source
Do this
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Partial
FileMaker Go Partial
Custom Web Publishing No
FileMaker WebDirect Partial
Runtime solution Yes