Does UniTable works with FastReport
Posted: Wed 23 Oct 2013 15:18
I am using UniDAC version 4.5 - XE3. I have been trying to print data from table to Fast Report. It has been extracting data successfully from SQLite table with the help of UniConnection, UniTable, UniDataSource, SQLiteUniProvider etc.. But it is not printing data into fast report.
frxDBDataSet DataSet property is set to UniTable1 and table name property is set to appropriate tablename from DB.
frxReport DataSet property is set to the frxDBDataSet.
My code is as follows
Is above code enough to display data from unitable to the Fast Report ?
frxDBDataSet DataSet property is set to UniTable1 and table name property is set to appropriate tablename from DB.
frxReport DataSet property is set to the frxDBDataSet.
My code is as follows
Code: Select all
UniConnection1: TUniConnection;
SQLiteUniProvider1: TSQLiteUniProvider;
UniDataSource1: TUniDataSource;
UniTable1: TUniTable;
DBGrid1: TDBGrid;
DBNavigator1: TDBNavigator;
Button1: TButton;
frxDBDataset1: TfrxDBDataset;
frxReport1: TfrxReport;
procedure Button1Click(Sender: TObject);
procedure TForm6.Button1Click(Sender: TObject);
begin
frxReport1.ShowReport;
end;