Difference between revisions of "TDataSet"

From Lazarus wiki
Jump to navigationJump to search
Line 14: Line 14:
 
* [[TParadox]]
 
* [[TParadox]]
 
* [[TFPCodeGenerator]]
 
* [[TFPCodeGenerator]]
 +
* [[TSQLQuery]]
  
 
== Freepascal Documentation ==
 
== Freepascal Documentation ==

Revision as of 13:31, 4 July 2014

TDataSet is the main link to the actual data in a database. A TDataSet descendant acts like a cursor on a table or query-result.

 SQLTransaction1.Database := SQLConnection1;
 SQLQuery1.Transaction := SQLTransaction1;
 DataSource1.DataSet := SQLQuery1;
 DBGrid1.DataSource := DataSource1;

non-abstract descendants

Freepascal Documentation