Setting file options
You can set preferences for the current file’s default layout, login information, spelling, and opening and/or closing scripts. To set preferences for all files, see Setting preferences.
To set options for opening and closing the current file:
1.
Choose File menu > File Options, and click the Open tab if it is not already selected.
 
Minimum version allowed to open this file, then choose a version of FileMaker Pro, FileMaker Go, or FileMaker Server from the list
Log in using, then Account Name and Password, and type an account and password
This is the default selection. The default is Log in using selected with the Account Name and Password option set to Admin and a blank password.
Automatically log in using a specific account and password when you open the database. To temporarily bypass the default password and enter a different one, press Shift (Windows) or Option (OS X) while opening the file.
Note If the default account is valid but the password is invalid, you will be prompted to enter another password.
Log in using, then Guest Account
Switch to layout, then choose a layout from the list in the Specify Layout dialog box
Display the specified layout whenever you open the file. If you don't select this option, FileMaker Pro opens the layout you displayed when you worked in the file, or opens a layout you specify in a startup script. (See the “Perform script” option below.)
If a layout has been selected, its name appears to the right of the Specify button of this option. To change the layout to use, click Specify, then choose a layout from the list. See Specify Layout dialog box.
Note FileMaker Pro saves your current layout only if the file has been modified in a significant way, such as editing a record or modifying database schema. See What FileMaker Pro doesn’t save.
2.
Click OK to save your changes, or click another tab to set additional file options.
To set spelling options for the current file:
1.
Choose File menu > File Options, and click the Spelling tab.
 
2.
Click OK to save your changes, or click another tab to set additional file options.
Checking spelling as you type can be slower than using the other spelling options if a large amount of text is visible in the active field. See Checking spelling as you type.
To set text handling and data entry options for the current file:
Note  You must log in using the Full Access privilege set to edit items in the Text tab.
1.
Choose File menu > File Options, and click the Text tab.
2.
 
3.
 
4.
Click OK to save your changes, or click another tab to set additional file options.
To perform scripts that open and close windows:
Note  You must log in using a Full Access privilege set to edit items in the Script Triggers tab.
1.
Choose File menu > File Options, and click the Script Triggers tab.
2.
 
Run a script each time you open a window of a database file when no other windows for the file are currently open. The script is triggered after the first window of a file is open.
Click Specify to choose or create the script you want to use.
Note Although this is typically the first time you open a file, you can also trigger a script this way when you open a window for a hidden file previously opened via a script or relationship.
For more information, see OnFirstWindowOpen. For information about operations that do not activate script triggers, see Changing object data without activating script triggers.
Click Specify to choose or create the script you want to use.
Note The script will run even if the file itself remains open, for example if it is referenced by another file with open windows. The closing script will be performed each time the last open window of the specified file is closed.
For more information, see OnLastWindowClose. If the script executed by the OnLastWindowClose script trigger returns a False value, the file will not close.
Click Specify to choose or create the script you want to use.
Note You can also trigger a script this way when you open a window for a hidden file previously opened via a script or relationship.
For more information, see OnWindowOpen. For information about operations that do not activate script triggers, see Changing object data without activating script triggers.
Click Specify to choose or create the script you want to use.
Note The script will run even if the file itself remains open, for example if it is referenced by another file with open windows. The closing script will be performed each time a window of the specified file is closed.
For more information, see OnWindowClose. If the script executed by the OnWindowClose script trigger returns a False value, the file will not close.
Note  If a snapshot link is created from a database to which any of the above script triggers are assigned, the snapshot link will open and close as described in the table above.
3.
Click OK to save your changes, or click another tab to set additional file options.
Related topics 
Creating a FileMaker Pro file
Defining automatic data entry
Defining field validation
Opening files protected with passwords
Checking spelling
Creating scripts to automate tasks
Setting up script triggers