Purpose
Returns or assigns the Admin attribute of a field. This attribute allows the administrator to view and modify a field that is Hidden or Protected.
Note
This attribute has been deprecated. To emulate this functionality, get the user's user ID from the FCUserID function and set the Protected and Hidden attributes explicitly.
Syntax
[Form].Field.Admin [= TRUE | FALSE | Value]
TRUE | FALSE |
TRUE assigns the Admin attribute to this field. |
Value |
-1 (True) or 0 (False) |
Examples
frmMyForm.txtMyField.Admin = TRUE
frmMyForm.txtMyField.Admin = -1
|