Справочник Пользователя для Filemaker Pro 8.5 Advanced Maintenance TG761Z/A
Модели
TG761Z/A
Chapter 7
|
Get functions 95
Description
You assign the privileges in the Custom Layout Privileges dialog box.
Returns:
•
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
.
See FileMaker Pro help for more details about limiting access through layouts.
Notes
•
Get(LayoutAccess) returns information about record access privileges defined for
only the current layout. It ignores current
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, page 102.
Get(LayoutAccess) and the Get(RecordAccess) function, page 102.
•
See FileMaker Pro help for information about running
in client/server and
peer-to-peer environments.
Example
Returns
1
when the layout allows view-only access to records.
Get(LayoutCount)
Format
Get(LayoutCount)
Parameter
None
Data type returned
number
Description
.
Note
See FileMaker Pro help for information about running
in client/server and
peer-to-peer environments.