You are here: Scripting Reference > Classes > Data Set > Dataset.Post

Dataset.Post

Declaration

procedure Post;

Example

procedure OnMapEvent(var Value:Variant);

begin

DATASET.Insert; //create new record

DATASET['Field1'].Value := 10;

DATASET.Post; //save the record

end;

Description

Saves a newly inserted or edited record. You do not need to call Post unless you have created or edited the record yourself using See "Dataset.Insert" or See "Dataset.Edit".

If you do not want to save the record you can call See "Dataset.CancelPost";