Click or drag to resize

DataWindow.Append Method

X#
Append a blank record to the data server connected to this data window and position the window on this new record.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Append() AS USUAL
Request Example View Source

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
When executed successfully, the data server to which the new record was appended sends a NotifyAppend message to all of its clients, including this data window. DataWindow:Append() can fail for many reasons (for example, data entered in the window fails validation, record locks failed because another user controls the data server, or access to the database failed for technical reasons). Use the DataWindow:Status property to determine the exact cause of the failure. You might also want to check the feasibility of the operation beforehand, using methods like DataWindow:StatusOK().
See Also