Syntax: Get ( RecordAccess )
Data type returned: Number
Returns a number that represents the current account's access privileges for the current record. Record privileges are assigned via privilege set.
Returns 0 if the user does not have View or Edit privileges for the current record.
Returns 1 if the user has view-only access to the current record. This could mean the View is set to Yes for the current table, or that View is set to Limited and that the calculation defined for Limited access returns a value of True.
Returns 2 if the user has edit access for the current record. This could mean that Edit is set to Yes for the current table, or that Edit is set to Limited and that the calculation defined for Limited access returns a value of True.
The Get (RecordAccess) function can be used to alert users of restricted privileges at the record level. Note that Get (RecordAccess) returns information only about table record privileges. Record access may be restricted through the layout access as well.
To fully evaluate current record access, evaluate both the return values of Get (LayoutAccess) and the Get (RecordAccess) function.
Get ( RecordAccess )
Returns 1 if a user can view, but potentially not edit, a given record.
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information