Home Devices

No Data error

edited May 2003 in Devices
Hi,

I have a report to list vendor activities. The report is made up of 1
main and 3 sub reports. Each report has its own data pipelines, and the
subreport's pipelines are linked to the main pipeline through
MasterDataPipeline and MasterFieldLinks (vendor name). We are using
TExtraDevies to preview the report in Acrobat. I'm running into a
problem: if I run the report for a vendor and all data pipelines have
records (I checked using .RecNo) the report previewed fine, then if I
happen to run the report for another vendor and if there is one of the
subreport data pipelines doesn't have data then the Acrobet comes up to
say "Error in openning document because there is no data". But if I run
the report a second time then everything is fine again. It seems to me
that somthing is not working somewhere between when there was data and
when there was no data? I did pipeline.Close; ibquery.close; ...;
ibquery.open; pipeline.open; in my code each time I run the report. I
don't know if this is a data pipeline or a TExtraDevice issue. I'm using
Delphi, Report Builder 5.54 and Interbase. Is there something I'm
missing? Thanks for the help.

Bill
This discussion has been closed.