CodeCharge Studioobject.ReadAllowed [=value]
This property contains a Boolean flag that if set to true, prevents displaying record's data. If the property is set to true, the form is working in insert mode regardless of the passed parameters.
This property may be used to prevent users from viewing particular records. Personal entries can be protected using custom code that resets this property.
The property's value has to be set in the form's Before Select event or earlier.
If DiaryEntry.author_id.Value = CCGetUserID() Then DiaryEntry.ReadAllowed = True Else DiaryEntry.ReadAllowed = False End If