Reference > Script steps reference > Files script steps > New File
 

New File

Allows the user to create a new file.

See also 

Options 

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

No 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

No 

Originated in 

FileMaker Pro 6.0 or earlier

Description 

This script step opens the Create window. After the new file opens, the script becomes active again, and if script steps remain, the script continues. The new file remains open and active.

Tip  If you want the original file to remain active, add a Select Window script step after the New File step.

Example 1 

Exports records, then creates a new file to import the records into.

Set Error Capture [On]
Export Records [With dialog: On ; Create directories: Off]
New File

Related topics 

Script steps reference (alphabetical list)

Script steps reference (category list)