Documentation with examples, reference manual
Posted: Wed 28 Oct 2009 11:40
Hello!
Has somebody an idea, where i can get an excellent documentation with examples about pg_query, pg_table, tfields and database-programming?
The documentation in delphi2009 is... uggly. No examples and else.
Currently i try -something "easy"- like "to copy one record from Database A, table B to Database B table b with same definition.
This costs much time and is very inefficient. try and error. And drives me crazy. That must be easier to go.
And I am not an beginner!
---
self.PgTable_mts.Append;
// for i := 0 to self.PgTable_mts.Fields.Count - 1 do begin
// if self.PgTable_mts.Fields.FieldName = 'be_seq' then begin
// // self.PgQuery2.SQL.Append('be_seq='+inttostr(sequence));
// end else
// self.PgTable_mts.Fields.Value := self.PgTable_tmp_mts.Fields.Value;
// end; //for
self.PgTable_mts.FieldByName('be_diag').Value := '1';
self.PgTable_mts.Post;
thank you for answering me.
Has somebody an idea, where i can get an excellent documentation with examples about pg_query, pg_table, tfields and database-programming?
The documentation in delphi2009 is... uggly. No examples and else.
Currently i try -something "easy"- like "to copy one record from Database A, table B to Database B table b with same definition.
This costs much time and is very inefficient. try and error. And drives me crazy. That must be easier to go.
And I am not an beginner!
---
self.PgTable_mts.Append;
// for i := 0 to self.PgTable_mts.Fields.Count - 1 do begin
// if self.PgTable_mts.Fields.FieldName = 'be_seq' then begin
// // self.PgQuery2.SQL.Append('be_seq='+inttostr(sequence));
// end else
// self.PgTable_mts.Fields.Value := self.PgTable_tmp_mts.Fields.Value;
// end; //for
self.PgTable_mts.FieldByName('be_diag').Value := '1';
self.PgTable_mts.Post;
thank you for answering me.