Versions Compared

Key

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

...

The DeleteColumn method permanently removes one or more columns from the table. The Column parameter is the index to the first column to be deleted. You can set the Column parameter to -1 if you wish columns to be deleted from the end. The Count parameter specifies the number of columns to be deleted and must be greater than zero to have any effect.

Example

Code Block
 // Delete the first two columns and the last column 
rv = Send_Message(Ctrl, "OLE.DeleteColumns", 1, 2) 
rv = Send_Message(Ctrl, "OLE.DeleteColumns", -1, 1)

See Also

DeleteRecordsInsertColumnsINSERT