DeleteCmd Property

Specifies the command to use when deleting rows. Read/write at design time and run time.

CursorAdapter.DeleteCmd [ = cCommand ]

Return Value

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

    cCommand Description

    Character string or expression

    Specifies a valid command string for the data source in the DeleteCmdDataSource property.

    Empty string ("")

    The CursorAdapter object generates a SQL DELETE command automatically if the AllowDelete 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)