Permanently removes records from the table.
rv = Send_Message(Ctrl, "OLE.DeleteRecords", Record, Count) |
Parameter | Description |
---|---|
Record | Index to the first record to be deleted |
Count | The number of records starting at Record to be deleted |
The DeleteRecords method permanently removes one or more records from the table. The Record parameter is the index to the first record to be deleted. You can set the Record parameter to -1 if you wish records to be deleted from the end. The Count parameter specifies the number of records to be deleted and must be greater than zero to have any effect.
// Delete the first two records and the last record rv = Send_Message(Ctrl, "OLE.DeleteRecords", 1, 2) rv = Send_Message(Ctrl, "OLE.DeleteRecords", -1, 1) |
DeleteColumns, InsertRecords, INSERT