Get(LayoutAccess)

Category: Get

Syntax: Get ( LayoutAccess )

Parameters: None

Data type returned: Number

Description:

Returns a number that represents the current user's record access privileges level for the current layout. Privileges are assigned in the Custom Layout Privileges dialog box

The Get (LayoutAccess) function can be used to alert users of restricted privileges at the layout level. Note that Get (LayoutAccess) returns information about only the current layout. Record access privileges for any other layout are not represented.

Note also that Get (LayoutAccess) does not return information about whether or not the layout itself is accessible, but rather what access the user has to edit record data via the current layout.

The Get (RecordAccess) function evaluates record access privileges independent of the Get (LayoutAccess) function. To fully evaluate record access, evaluate the return values of both the Get (LayoutAccess) and Get (RecordAccess) functions.

Examples:

Function

Results

Get(LayoutAccess)

Returns 0 if the custom layout privileges of an account's privilege set allow "no access" to records via this layout.

 

Returns 1 if the custom layout privileges of an account's privilege set allow "view only" access to records via this layout.

 

Returns 2 if the custom layout privileges of an account's privilege set allow "modifiable" access to records via this layout.


: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

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



FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net