Click or drag to resize

DataServer.Update Method (Typed)

X#
Update this server with data from another server or table.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Update() AS LOGIC CLIPPER
Request Example View Source

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE, although even with FALSE, some records may have been updated. This can happen if the operation failed halfway through because of technical problems.
Remarks
Sends a NotifyFileChange message upon completion. There are two different formulations of the matching relationship between the two servers. If lRandomFlag is TRUE, this server must be indexed on the specified key, but the other server can be in any order; if lRandomFlag is not specified or is FALSE, both servers must be indexed or sorted on the specified key. If there is more than one record in this server with matching key fields, only the first one is updated.
See Also