Home > Language Reference > Classes > StreamRecord
Secret Property
Indicates if the record is 'Private'.
Syntax
Public Property Get Secret() As Boolean
Public Property Let Secret(ByVal bSecret As Boolean)
| Parameter | Description |
| bSecret | Boolean expression. |
Remarks
Palm OS® integrates a data security system allowing the user to indicate if a record should be regarded as 'Private' or not. The user can also choose from the built-in application Security, if they want applications to show, mask or hide such records.
In order to respect the choice of the user, the Secret property indicates if the recording is marked as being ' Private' or not.
Refer to the Autograph sample to see how this property is used for the tblAutograph database. The Security and SecurityDialog functions can be used to implement effective security controls.
Because this information is stored in the record header, its is much faster to access than other data, because it is not necessary to load the complete record - only its header. It is therefore better to use this property than to redefine the fields in the database.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |