Condividi tramite


SendUpdates Property

Specifies whether to send an SQL update query to update tables. When handling this property for regular cursors, use the CURSORSETPROP( ) and CURSORGETPROP( ) functions. Read/write.

Note

Setting SendUpdates applies only to CursorAdapter objects with ODBC or ADO data sources and 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.SendUpdates [= lValue]

Return Value

  • lValue
    Logical data type. The following table lists the values for lValue.

    lValue Description

    True (.T.)

    Send an SQL update query to update tables when a view is used to make the update. (Default)

    False (.F.)

    Do not send an SQL update query to update tables.

Remarks

Applies To: CursorAdapter Class

See Also

Reference

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

Other Resources

Properties (Visual FoxPro)