EPUB | CHM | PDF

TDataSet.Methods.Insert

Top Previous Next

Inserts a new, empty record in the dataset.

Syntax:

procedure Insert;

Description:

Call Insert to:

      • Open a new, empty record in the dataset.
      • Set the active record to the new record.

After a call to Insert, an application can enable users to enter data in the fields of the record, and then post those changes to the database using Post.

For PostgreSQL indexed tables, the index is updated with the new record information.

See also: Example: BeforeInsert,Insert,AsInteger,FieldByName