Delete Account
Purpose 
Deletes the specified account.
Format 
Delete Account [Account Name: <account name>]
Options 
Click Specify to set the Account Name to be deleted. You can enter literal text or click Specify to create an account name from a calculation.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 7.0
Description 
 •
 •
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.
 •
 •
Example 1 
Deletes the Sales account.
Delete Account [Account Name: "Sales"]
Example 2 
Deletes the current account if it has full access privileges.
If [Get ( AccountPrivilegeSetName ) = "[Full Access]"]
Delete Account [Account Name: Get ( AccountName )]
Re-Login [ ]
Else
Show Custom Dialog ["You do not have enough privileges to delete an account."]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)