Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Example

Code Block
 // 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)

...