Difference between revisions of "TDataSet"

From Lazarus wiki
Jump to navigationJump to search
Line 11: Line 11:
 
* [[TSdfDataSet]] -
 
* [[TSdfDataSet]] -
 
* [[TFixedFormatDataSet]]
 
* [[TFixedFormatDataSet]]
* [[TDbf]] - connect to dBase  
+
* [[Lazarus Tdbf Tutorial|TDbf]] - connect to dBase  
* [[TParadox]] - connect to Paradox/BDE
+
* [[TParadoxDataSet|TParadox]] - connect to Paradox/BDE
 
* [[TFPCodeGenerator]]
 
* [[TFPCodeGenerator]]
 
* [[TSQLQuery]] - connect to results of a SQL-query
 
* [[TSQLQuery]] - connect to results of a SQL-query

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