Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 78
Export Records
Purpose
Exports records to a specified file.
Format
Export records [No dialog; “<output filename>”; Automatically open; Create
email; <platform and character set>]
Options
Perform without dialog prevents dialog boxes from displaying when the script step is run
from FileMaker Pro. These dialog boxes would let the user set new export criteria.
Select Specify output file or click Specify to display a dialog box where you can specify
the file and file type to export. Choose the folder you want to export to, or type the folder
path directly into the list. Specify one path per line. FileMaker Pro will use the first path it
locates. The file type you use depends on the import requirements of the program using the
exported data. You can also specify options to Automatically open the file and Create
email with the file as attachment after saving.
Note You can export records as a Microsoft Excel or Excel 2007 worksheet by choosing
Excel
95-2004 Workbooks (.xls) or Excel Workbooks (.xlsx) from the File Type list.
If you specify XML as the export file type, the Specify XML and XSL Options dialog box appears,
where you can specify an XML grammar and choose an XSLT style sheet if you want to
transform the XML. The XSLT source may be a file, the result of an HTTP request, or a
calculation that generates a file path or an HTTP request.
Note Do not export fields whose name is entirely numeric (such as "2") or whose name is a
single-byte kana character (Japanese version) using the FMPDSORESULT grammar.
Select Specify export order or click Specify to use the export order that was in effect when
you added the script step. The last export order used in the file appears as the default and
can be edited or deleted. If necessary, choose an output file character set from the list.
Select Apply current layout’s data formatting to exported data, or the formatting of the
last exported data will be used.
Compatibility
This script step is:
not supported in web publishing
also supported in a FileMaker Server scheduled script (except exporting to the .fp7 file type)
Originated in
FileMaker Pro 6.0 or earlier