Strange error
Hi,
I am using Delphi 6 / RBuilder 6.03
Reports are stored in the SQL Server 2000 Database.
We have a strange problem previewing/printing some report.
I made a report with in the summary a Subreport (subreport kind = section).
There are 2 DADE datasets not connected to each other and have the same
tablename (view).
For some reason in the 'link page' the fields from DADE view 1 are linked to
the fields from DADE view2. It is not possible to delete these links, since
they are re-created.
These DADE views have the same autosearch parameters. We have our own
autosearch form in which we only asks the parameters once. The other
parameters are set manually. This all shows fine (preview and print).
So far the situation. Everything works fine. The report shows fine, prints
fine, ... but ...
When previewing/printing it more than once, or previewing it and after this
previewing another report, we get an access violation
The exception occurs in the RBuilder source:
TppSubReport.SectionAfterSendPageEvent ...
begin
if FReportCompleted then
Band.Report.ExExclude (esEndSection) => here it stops.
....
end;
I don't know what is happening here, but can anyone give us a tip in what
direction we have to look. Is it because of the design?
Regards,
Wouter Devos
I am using Delphi 6 / RBuilder 6.03
Reports are stored in the SQL Server 2000 Database.
We have a strange problem previewing/printing some report.
I made a report with in the summary a Subreport (subreport kind = section).
There are 2 DADE datasets not connected to each other and have the same
tablename (view).
For some reason in the 'link page' the fields from DADE view 1 are linked to
the fields from DADE view2. It is not possible to delete these links, since
they are re-created.
These DADE views have the same autosearch parameters. We have our own
autosearch form in which we only asks the parameters once. The other
parameters are set manually. This all shows fine (preview and print).
So far the situation. Everything works fine. The report shows fine, prints
fine, ... but ...
When previewing/printing it more than once, or previewing it and after this
previewing another report, we get an access violation
The exception occurs in the RBuilder source:
TppSubReport.SectionAfterSendPageEvent ...
begin
if FReportCompleted then
Band.Report.ExExclude (esEndSection) => here it stops.
....
end;
I don't know what is happening here, but can anyone give us a tip in what
direction we have to look. Is it because of the design?
Regards,
Wouter Devos
This discussion has been closed.
Comments
This was a known bug in RB 6.03. It has been fixed in ReportBuilder 7.
Please upgrade to ReportBuilder 7.02. You can order from our web page at
http://www.digital-metaphors.com.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Isn't there a workaround for version 6?
We would like to upgrade to RB7, but I would like to test it first before
deploying the app to our customer.
What exactly is the error. Is it an issue of the subreport kind setting to
section?
Regards,
Wouter Devos
In RB 6.03 there was a notification error between internal objects. The
only way to solve your issue would be to upgrade to ReportBuilder 7.02.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I think I'll have to upgrade then.
Thanks for the help.
Regards,
Wouter Devos