Share via


xRecord.skipDeleteActions Method

Gets and sets the property that indicates whether to skip delete actions on the table.

Syntax

public boolean skipDeleteActions([boolean newValue])

Run On

Called

Parameters

  • newValue
    Type: boolean
    A Boolean value that indicates whether to ignore requests to delete records; optional.

Return Value

Type: boolean
true if requests to delete records should be ignored; otherwise, false.

Remarks

This method works only when you are using a set-based operation, such as the delete_from statement. If you use it on a row-based operation, such as the xRecord.delete method, the property will not be respected, and the delete action will still be called.

See Also

Reference

xRecord Class