Difference between revisions of "TDataSet"

From Lazarus wiki
Jump to navigationJump to search
Line 14: Line 14:
 
* [[TParadoxDataSet|TParadox]] - connect to Paradox/BDE
 
* [[TParadoxDataSet|TParadox]] - connect to Paradox/BDE
 
* [[TFPCodeGenerator]]
 
* [[TFPCodeGenerator]]
* [[TSQLQuery]] - connect to results of a SQL-query
+
* [[Working With TSQLQuery|TSQLQuery]] - connect to results of a SQL-query
  
 
== Freepascal Documentation ==
 
== Freepascal Documentation ==

Revision as of 14:51, 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