Problems when there are no detail records
I have a report which has a title band with a detail band. My problem is
when I try to run a report on a dataset without any records in it. When I
try to print this report to a PDF using Waler's TExtraDevices, it
generates a file that can't be opened in Adobe Acrobat reader. It says
the file contains errors.
If I run the report with records in the dataset, it works great.
How can I get the report to run and still display the header/footer bands
if there's no records for the detail band to display?
Thanks!
Jason
--- posted by geoForum on http://delphi.newswhat.com
when I try to run a report on a dataset without any records in it. When I
try to print this report to a PDF using Waler's TExtraDevices, it
generates a file that can't be opened in Adobe Acrobat reader. It says
the file contains errors.
If I run the report with records in the dataset, it works great.
How can I get the report to run and still display the header/footer bands
if there's no records for the detail band to display?
Thanks!
Jason
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Oh man. I just found the NoDataBehaviors property for the ppReport. That
solves my problem....sorry!
--- posted by geoForum on http://delphi.newswhat.com