Share via


AllowUpdate Property

Specifies whether to permit update operations against a data source. Read/write at design time and run time.

Note   AllowUpdate does not affect the ability to update a row in the cursor itself.

CursorAdapter.AllowUpdate [ = lValue ]

Property Values

  • lValue
    Logical data type. The following table lists the settings for lValue.
    lValue Description
    True (.T.) Permit update operations. (Default)

    When the CursorAdapterInsertCmd property is empty (""), Visual FoxPro generates a SQL UPDATE command automatically. For more information, see Data Access Management Using CursorAdapters.

    False (.F.) Does not permit update operations.

See Also

Properties | CursorAdapter Object Properties, Methods, and Events

Applies To: CursorAdapter Class