Get(RecordAccess)

 <  Day Day Up  >  

Get(RecordAccess)

Category: Get

Syntax: Get ( RecordAccess )

Parameters: none

Description: Returns a number that represents the current user 's access privileges for the current record. Record privileges are assigned via privilege set.

Examples:

 

 Get ( RecordAccess ) 

returns 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.

Comments:

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 global record privileges. Record access may be restricted through the layout access as well. However, in scripts, record access privileges overrule layout access restrictions.

To fully evaluate current record access, evaluate both the return values of Get (LayoutAccess) and the Get (RecordAccess) function.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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