SubReport Access violation
I am Presenting two queries before this group, kindly revert back to this
1.) I have a report with one sub report.This subreport and main report
are fully created through RAP code.It's datapipelines are linked
datapipelines.The problem I am getting is, first time my RAP code will
create report and the report is getting generated. Second time if I am
creating report without closing appliction, it will create report without
any problem,but will not generate the report.It's giving error 'Can't
generate the report.Access violation at address 00AD3152 in module
RBRCL55.bpl. Read of adress FFFFFFFF'. I am closing all datapipelines,
including subreport datapipelines, after generation of report. Still that
error is coming.If I am not giving datapipelines to datafiellds created
in subreport.Then this access violation error is not coming.So pls
suggest some aggressive solution
2.) Like that I have one main report and subreport with linked
datapipelines.When report generating It's showing main report
only for records which have linking with subreport record.Pls suggest
some ways to show other main report records which having no relation with
subreport data.Sametime Subreport should be suppressed when related data
is not there in master records
Filson paul
?
--- posted by geoForum on http://delphi.newswhat.com
1.) I have a report with one sub report.This subreport and main report
are fully created through RAP code.It's datapipelines are linked
datapipelines.The problem I am getting is, first time my RAP code will
create report and the report is getting generated. Second time if I am
creating report without closing appliction, it will create report without
any problem,but will not generate the report.It's giving error 'Can't
generate the report.Access violation at address 00AD3152 in module
RBRCL55.bpl. Read of adress FFFFFFFF'. I am closing all datapipelines,
including subreport datapipelines, after generation of report. Still that
error is coming.If I am not giving datapipelines to datafiellds created
in subreport.Then this access violation error is not coming.So pls
suggest some aggressive solution
2.) Like that I have one main report and subreport with linked
datapipelines.When report generating It's showing main report
only for records which have linking with subreport record.Pls suggest
some ways to show other main report records which having no relation with
subreport data.Sametime Subreport should be suppressed when related data
is not there in master records
Filson paul
?
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Which version of ReportBuilder/Delphi are you using? Does this error occur
at design time or runtime? How and when are you closing all the pipelines?
Does it happen with every report?
Be sure the SkipWhenNoRecords property of the Detail pipeline is set to
False if you would still like to see the master data.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
occur
pipelines?
this
without
that
created
with
data
First of all thanks to Nico for replying.I am giving answers for queries
you asked.Kindly look into this issue
Delphi-Version 5.0
Report Builder-Version 6.03
Access violation is coming in runtime.I am Closing all datapipelines when
main report priview is closing.In this report all components like
datafield,label,subreportcomponent,childreport is creating through RAP
Code.If subreport is created and I put datafield with detail pipeline in
subreport it's creating same error in other reports also.
Filson Paul
--- posted by geoForum on http://delphi.newswhat.com
My first suggestion would be to download the latest trial version of
ReportBuilder that runs with Delphi 5 (RB. 7.04) and test with that. There
have been many fixes and enhancements since RB 6.03. Be sure to back up any
templates you load with the newer version and that you have a backup copy of
RB 6.03 if you need to revert back.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com