ReportBuilder treats Tables and Queries identically. It simply uses the DataPipeline to traverse a TDataSet descendent and displays that data on your report. Are you certain your query object returns any data? Try connecting it to a DBGrid and see if the data displayed is correct.
This is not a known issue with ReportBuilder. TQuerys should work the exact same as TTables.
As a test, try creating a simple application consisting of a TQuery connected to the DBDEMOS database, a TDataSource connected to the TQuery, a TppDBPipeline connected to the datasource and a TppReport connected to the datapipeline. Then design the report to desplay one of the fields in the query. When you preview this report, you should see the data.
Please send a simple example of this in .zip format to support@digital-metaphors.com (including your database file) and I'll take a look at it for you.
Comments
ReportBuilder treats Tables and Queries identically. It simply uses the
DataPipeline to traverse a TDataSet descendent and displays that data on
your report. Are you certain your query object returns any data? Try
connecting it to a DBGrid and see if the data displayed is correct.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
works with query. I set some parameters for work these?
thanks
This is not a known issue with ReportBuilder. TQuerys should work the exact
same as TTables.
As a test, try creating a simple application consisting of a TQuery
connected to the DBDEMOS database, a TDataSource connected to the TQuery, a
TppDBPipeline connected to the datasource and a TppReport connected to the
datapipeline. Then design the report to desplay one of the fields in the
query. When you preview this report, you should see the data.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
runtime, and do not appear data.... I make these:
with IBQuery1 do
begin
SQL.Add('select * from clients');
SQL.Add('order by Name');
Open;
end;
Report1.Print;
thanks
Please send a simple example of this in .zip format to
support@digital-metaphors.com (including your database file) and I'll take a
look at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I sorry for these incoveniense, but it's works now, the problem is when I
do not close TIBQuery, before in procedure....!
thanks for alll!