This example appends a new record to a table when the user clicks a button. The two fields with names ALPHANUMERICFIELD and INTEGERFIELD are filled from the contents of two edit controls.
procedure TForm1.Button1Click(Sender: TObject); begin PSQLTable1.Append; PSQLTable1.FieldValues['ALPHANUMERICFIELD'] := Edit1.text; PSQLTable1.FieldValues['INTEGERFIELD'] := StrToInt(Edit2.text); PSQLTable1.Post; end;