Setting file options
You can set preferences for the current file’s default login information, layout, representative icon, spell checking, text handling, and scripts for opening and closing the file. To set preferences for all files, see Setting preferences.
Note  You must log in using the Full Access privilege set to edit items in any tab except the Spelling tab.
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 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
Allow Credential Manager to save password (Windows) or Allow Keychain Access to save password (OS X and iOS)
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.
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 select an icon for the current solution:
1.
Choose File menu > File Options, and click the Icon tab.
2.
 
Click Custom, then select an image file and click Open (Windows) or Insert (OS X).
Select Scale to Fit, so the image’s width and height fit inside the area.
Select Scale to Fill, so the image’s width and height completely cover the area.
The Icon tab shows how the selected icon will appear in different sizes in the Launch Center window.
3.
Click OK to save your changes, or click another tab to set additional file options.
Note  If you open an encrypted database file, you might see the default FileMaker Pro solution icon unless the file was previously opened.
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 and Setting spell checking for individual fields.
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 add, change, or delete a script trigger for a file:
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 Select to choose or create the script 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 Select to choose or create the script 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 Select to choose or create the script 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 Select to choose or create the script 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.
Click Select to choose or create the script to use.
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