Export (0) Print
Expand All
Expand Minimize

AllowInsert Property

Visual Studio .NET 2003

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

Note   AllowInsert does not affect the ability to insert a row into the cursor itself.
CursorAdapter.AllowInsert [ = lValue ]

Property Values

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

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

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

See Also

Properties | CursorAdapter Object Properties, Methods, and Events

Applies To: CursorAdapter Class

Show:
© 2014 Microsoft