06 May 2011

Lazarus > PostgreSQL > Post data

To post data in PostgreSQL database, even after active session, using standard Lazarus IDE TPQConnection control, create event :

procedure T_c_data._sql_tableAfterPost(DataSet: TDataSet);
begin
  _sql_table.ApplyUpdates;
  _db_transaction.Commit/Retaining;
end;
Post a Comment