Partager via


DeleteCmd Property

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

CursorAdapter.DeleteCmd [ = cCommand ]

Property Values

  • 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.

See Also

Properties | CursorAdapter Object Properties, Methods, and Events

Applies To: CursorAdapter Class