Convert File
 
Purpose 
Converts a supported file type into a FileMaker Pro file.
See also 
Format 
Convert File [Open File; No dialog; Skip Indexes; “<filename or source>”]
Options 
 •
Open file after conversion lets you specify whether you want a FileMaker Pro file to open automatically after conversion.
 •
Specify data source lets you choose the file or source of the data to be converted. If you don’t specify a file, FileMaker Pro displays the Open File dialog box when the script step executes. For more information about converting files, refer to the FileMaker Knowledge Base available at http://help.filemaker.com.
 •
 
 •
Perform without dialog prevents certain dialog boxes from displaying when the script step is run.
 •
 •
In these two cases, the default settings for those dialog boxes are used instead.
 •
Skip Indexes lets you specify whether FileMaker Pro should create an index in a converted FileMaker file.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
See Supported import/export file formats for more information.
Note  You cannot use this command to convert the contents of a folder. Each file in a folder must be converted separately.
Example 1 
Converts the Invoices database to the current FileMaker format.
Show Custom Dialog ["Convert the Invoices database?"]
If [Get ( LastMessageChoice ) = 1]
Convert File [“Invoices.fp7”]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)