Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
Files script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 99
Set Multi-User
Purpose
Allows or disallows network access to a database.
Format
Set Multi-User [On/On (Hidden)/Off]
Options
• Select On to allow network access via FileMaker Network Sharing. This is the same as
selecting All Users in the FileMaker Network Settings dialog box.
• Select On (Hidden) to allow network access but prevent the name of the shared database
from appearing in the Open Remote File dialog box. This is the same as selecting the All
Users and Don't Display in Open Remote File dialog options in the FileMaker Network
Settings dialog box.
• Select Off to disallow network access. This is the same as selecting No Users in the
FileMaker Network Settings dialog box.
Compatibility
This script step is:
• not supported in web publishing
• not supported in a FileMaker Server scheduled script
• not supported in runtime solutions
Description
A shared, or multi-user, database is a file available to users on a network. See Sharing and hosting
files for more information.
Examples
This script could be a startup script to guarantee that a database is hosted upon launch.
Show Custom Dialog ["Make this file available on the network?"]
If [Get (LastMessageChoice) = 1]
Set Multi-User [On]
End If
Tip The Get(MultiUserState) function could be used to verify the resulting multi-user setting.
Get(MultiUserState) is set to 0 for a single-user file and 1 for a multi-user file.