Condividi tramite


InsertCmd Property

Specifies the command to use for inserting new rows. Read/write at design time and run time.

CursorAdapter.InsertCmd [ = cCommand ]

Return Value

  • cCommand
    Character data type. The following table lists the possible values for cCommand.

    cCommand

    Description

    Character string or expression

    Specifies a valid command string for the data source in the InsertCmdDataSource Property.

    Empty string ("")

    The CursorAdapter object generates a SQL INSERT command automatically if the AllowInsert property is set to True (.T.).

    For more information about generating SQL commands automatically, see Data Access Management Using CursorAdapters.

Remarks

Applies To: CursorAdapter Class

See Also

Reference

CursorAdapter Object Properties, Methods, and Events

Other Resources

Properties (Visual FoxPro)