Export (0) Print
Expand All
Expand Minimize

AllowDelete Property

Visual Studio .NET 2003

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

Note   AllowDelete does not affect the ability to delete a row in the cursor itself.
CursorAdapter.AllowDelete [ = lValue ] 

Property Values

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

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

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

See Also

Properties | CursorAdapter Object Properties, Methods, and Events

Applies To: CursorAdapter Class

© 2014 Microsoft