Skip to content

Flow documentation · legacy product

Dataset.Delete ​

Declaration ​

procedure Delete (aRelativeIndex : integer);

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := DATASET.Delete(0); //delete the current record from the dataset
end;

Description ​

Deletes a record from the data view. aRelativeIndex is the postion of the record you want to delete in relation to the currently active record.

For example, you pass 0 to delete the current record, -1 to delete the record before this record, 1 to delete the record after this record.

Related records within child datasets are not deleted however they become orphaned and will not therefore be included in any output (essentially they are deleted)