Skip to content

TCSVDocument.ExchangeRows

Exchange positions of 2 rows.

Declaration

Source position: csvdocument.pp line 138

public 
procedure TCSVDocument.ExchangeRows(ARow1: Integer; ARow2: Integer);

Description

ExchangeRows takes 2 rows with positions aRow1 and aRow2, and exchanges them. if either of the row indexes does not exist, no action is performed.

See also

Name Description
AddRow Add a new row to the CSV Data.
InsertRow Insert row before row number aRow.
CloneRow Duplicate a row.