canGetRow example
Suppose a message database supports private messages that can be seen only by the sender and the recipient. You can prevent others from seeing private messages with a canGetRow event handler. The name of the user is stored as a property of the form. That name must match either the From or To fields in the message.
function messages1_canGetRow()
return this.fields[ "From" ].value == this.parent.parent.userName or
this.fields[ "To" ].value == this.parent.parent.userName