Cannot print report
I have created a report which displays it's preview correctly, but printing
it generates the following error:
'Cannot generate report'
'Invalid floating point operation'
The report has two group bands with two fields in each that summarize the
contents of two fields in the detail band. They are of type 'double'. I am
using a DBPipeline to connect thru a DataSource to an IBQuery component.
Any help?
Thanx,
Terry Fehr
it generates the following error:
'Cannot generate report'
'Invalid floating point operation'
The report has two group bands with two fields in each that summarize the
contents of two fields in the detail band. They are of type 'double'. I am
using a DBPipeline to connect thru a DataSource to an IBQuery component.
Any help?
Thanx,
Terry Fehr
This discussion has been closed.
Comments
calculations on your own? If so, check to make sure that all operations are
legal. The report is rerun when it is printed and any event handlers, if
they exist, are refired which could cause a problem if any variables are not
reset properly.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
not
Thanx for the tip. I was opening the dataset in the OnBeforePrint event
handler... I moved it to the procedure that calls Report.Print and all works
fine now.
Should I be opening the dataset in the DBPipeline's OnOpen event handler?
Thanx again,
Terry Fehr
when it needs to traverse the dataset.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com