Force instant deletion a record, regardless of its DataRecordStatus. RealDelete removes a record from the resultset.
If you want the delete operation to result in a DELETE statement being executed on the database, use Resultset.Delete() instead.
Resultset.RealDelete() without parameter will delete the currently selected record. An exception will be thrown if no current record is selected.
Resultset.RealDelete(int index) will delete the record at the index position.
Resultset.RealDelete(TRecord) will delete the specified record.
This method is inherited from the RecordsetData class.
public void RealDelete()
public void RealDelete(int index)
public void RealDelete(TRecord record)
Delete the currently selected record:
Delete the first record in the resultset:
if (customers.RecordCount > 0)
Look up a record and instantly delete it:
The DataRecordStatus be retrieved with the Record.RecordStatus() method.