Script Steps Reference

Table Of Contents
Chapter 12
|
Open Menu Item script steps 129
Use this script step to open the File Options dialog box for users if you have restricted their
access to FileMaker Pro menus.
Example
The following script displays a message box that asks if the user wants to open the File
Options dialog box, and opens it if the response is Yes.
Show Custom Dialog ["Open File Options dialog box?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open File Options
End If
Open Define Database
Format
Open Define Database
Options
None.
Web compatibility
This script step is not web-compatible.
Description
Opens the Define Database dialog box, where the user can create or edit tables, fields,
and relationships. (This is the same as choosing File menu > Define Database.)
Notes
The user’s account
must be assigned the Full Access privilege set, or this script step
will not be performed. (Select Run script with full access privileges to enable the
script for all users.)
See FileMaker Pro Help for information about making schema changes to shared
databases.
Example
The following script displays a message box that asks if the user wants to create a field,
and opens the Define Database dialog box if the response is Yes.
Show Custom Dialog ["Do you want to create or edit a field?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Define Database
End If