DataWindow.Append Method (Typed) | |
Append a blank record to the data server connected to this data window and position the window on this new record.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Append() AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual bool Append()
Request Example
View SourceReturn Value
Type:
Logic
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