Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 105
Examples
For ODBC imports and Execute SQL script steps, returns [DataDirect][Macintosh ODBC Driver
Manager] Data source name not found and no default driver specified (
-1) when a data source
name wasn’t found and the driver wasn’t specified.
Related topics
Contents
Functions reference (alphabetical list)
Get(LayoutAccess)
Purpose
Returns a number based on record access privileges available through the current layout.
Format
Get(LayoutAccess)
Parameters
None
Data type returned
number
Originated in
FileMaker Pro 6.0 or earlier
Description
You assign the privileges in the Custom Layout Privileges dialog box.
Returns:
0 if the custom layout privileges of an account’s privilege set allow no access to Records
via this layout
1 if the custom layout privileges of an account’s privilege set allow view only access to
Records via this layout. If the database is opened with read-only access, FileMaker
Pro
returns 1 even if the layout has read-write access privileges
2 if the custom layout privileges of an account’s privilege set allow modifiable access to
Records via this layout
Notes
Get(LayoutAccess) returns information about record access privileges defined for
only the current layout. It ignores current record access privileges for all other layouts.
To fully check access through a layout, consider the return values of
Get(LayoutAccess) and the Get(RecordAccess) function.
For information on how functions evaluate differently on the host versus the client,
search the FileMaker Knowledge Base available at
www.filemaker.com/kb.