GetChangesBlob (obsolete)

Description

Returns changes made to a DataWindow or DataStore. You must call GetChanges first to set up the change information. This method is used primarily in distributed applications.

Obsolete method

GetChangesBlob is obsolete and should not be used, because the DataWindow Web Control for ActiveX technology is obsolete.

Applies to

DataWindow type

Method applies to

Web ActiveX

DataWindow control


Syntax

Web ActiveX

string dwcontrol.GetChangesBlob ( ) 

Argument

Description

dwcontrol

A reference to the DataWindow control for which you just called GetChanges


Return value

Returns a string whose value is the DataWindow change blob set up by GetChanges.

If dwcontrol is null, the method returns null.

Usage

GetChanges and GetChangesBlob are used in conjunction with SetChanges to synchronize two or more DataWindows or DataStores. For details, see GetChanges.

Examples

These statements use GetChanges to capture changes to a DataWindow control on a client. If GetChanges succeeds, the client calls a remote object function that applies the changes to a DataStore on the server and updates the database:

blob lblb_changes
long ll_rv
 
ll_rv = dw_employee.GetChanges(lblb_changes)
 
IF ll_rv = -1 THEN
      MessageBox("Error", "GetChanges call failed!")
ELSE
      iuo_employee.UpdateData(lblb_changes)
END IF

See also

GetFullState

GetStateStatus

SetChanges

SetFullState