UpdateType Property

Specifies what to do with old data when performing updates. When working with this property for regular cursors, use the CURSORSETPROP( ) and CURSORGETPROP( ) functions. Read/write.

Note   Setting UpdateType for a CursorAdapter object overrides the property setting of a cursor when attached to a CursorAdapter object. That is, changing the settings on the cursor using CURSORSETPROP() has no effect.

CursorAdapter.UpdateType [= nValue]

Property Values

  • nValue
    Numeric data type. The following table lists the values for nValue.
    nValue Description
    1 Update old data with new data. (Default)
    2 Delete old data and insert new data.

See Also

Properties | CursorAdapter Object Properties, Methods, and Events | CURSORGETPROP( ) Function | CURSORSETPROP( ) Function

Applies To: CursorAdapter Class