Purpose
A callback method for appending a record.
Class
Type
Method
Syntax
<oBrowser>:RecordAppend(<iMode>) Æ lSuccess
Arguments
<iMode> | The mode of the record. The following modes can occur: |
Mode |
Description |
Return Value |
BRA_QUERYAPPEND |
An request whether a new record can be appended. |
The return value FALSE prevents the append. |
BRA_APPENDED |
A new record was appended. |
The return value does not have an effect. |
BRA_APPENDFAILURE |
A new record could not be appended. |
The return value does not have an effect. |
Data Type: | Integer |
Return Value
lSuccess | A logical value that indicates whether the mode was correctly processed. |
Data Type: | Logic |
Description
bBrowser:RecordAppend() is a callback method that is called by the browser whenever the method bBrowser:Append() is called. The method checks whether a method with the same name is defined in the owner of the browser and calls these with an object of class bRecordAppendEvent as only argument.
The entire process for an append is divided into 2 steps. For each step the browser calls the method RecordAppend() with the appropriate mode. The owner of the browser can react by the definition of its own RecordAppend() method to these modes.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_recordappend.htm