Help

Table Of Contents
FILEMAKER PRO HELP 1118
You must be assigned the Full Access privilege set to perform this script step. Select Run
script with full access privileges to enable users with less than full access privileges to
perform this script step.
You cannot use this script step to deactivate an account with full access privileges.
Example 1
Displays the contents of the Name field and prompts the user to activate an account with that name.
Show Custom Dialog ["Activate the " & Accounts::Name & " account?"]
If [Get ( LastMessageChoice ) = 1]
Enable Account [Account Name: Accounts::Name; Activate]
End if
Example 2
Deactivates the current account and prompts the user to log in to a different account.
Show Custom Dialog ["Deactivate the " & Get ( AccountName ) & " account?"]
If [Get ( LastMessageChoice ) = 1]
Enable Account [Account Name: Get ( AccountName ); Deactivate]
Re-Login [ ]
End if
Related topics
Script steps reference (alphabetical list)
Script steps reference (category list)
Re-Login
Purpose
Allows the user to log in to the database using a different account and password without closing and
reopening the file.
Format
Re-Login [Account Name: <account name>; Password: <password>; No dialog]
Options
Perform without dialog prevents the Open <filename> dialog box from displaying when the script
step executes. This dialog box requires the user to manually enter an account and password (or edit
information already displayed in the dialog box) to open a database file. When Perform without
dialog is selected, FileMaker
Pro uses the account and password information that is stored with the
script step, or generates information from calculations when the step executes.
Click Specify to display the “Re-Login” Options dialog box, where you can set the following options.
Account Name is the name of the account to be authenticated. You can enter literal text or
click Specify to create a new account name from a calculation.
Password is the password for this account. You can enter literal text or click Specify to
create a new password from a calculation.