Freigeben über


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 CursorAdapter objects 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]

Return Value

  • 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.

Remarks

Applies To: CursorAdapter Class

See Also

Reference

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

Other Resources

Properties (Visual FoxPro)