Filemaker Pro 8.5 Educational Maintenance T0 TJ087LL/A User Manual

Product codes
TJ087LL/A
Page of 238
Chapter 7
  
|
  Get functions     103
Description
Returns a number based on the current 
Custom Record Privileges dialog box.
Returns:
0
 if the custom record privileges of an account’s privilege set have neither 
View
 nor 
Edit
 privileges set to 
yes 
for the current record.
1
 if the custom record privileges of an account’s privilege set have 
View
 set to 
yes 
for 
the current record, or if 
View
 is set to 
limited
 and the calculation defined for limited 
access returns a value of 
true
.
Note  
If both 
View
 and 
Edit
 are set to 
yes
, Get(RecordAccess) returns 
2
.
2
 if the custom record privileges of an account’s privilege set have 
Edit
 set to 
yes 
for 
the current record, or if 
Edit
 is set to 
limited
 and the calculation defined for limited 
access returns a value of 
true
.
See FileMaker Pro help for more details about limiting access to records.
Notes
Get(RecordAccess) only returns information about the privileges defined for 
accessing records. It ignores access privileges assigned through individual 
To fully check access to a record, consider the return values of the 
Get(LayoutAccess) function, page 94, and Get(RecordAccess).
 for the current calculation, this function will be evaluated 
based on that context; otherwise, it will be evaluated based on the context of the 
current window.
See FileMaker Pro help for information about running 
 in client/server and 
peer-to-peer environments.
Example
Returns 
1
 when the record access is view-only.
Get(RecordID)
Format
Get(RecordID)
Parameter
None
Data type returned
number