Access Violation
Hi,
I get access violation when I try to open up a report in design mode.
I have my own Report Explorer which is similar to your own, but because we
display the data in a certain way therefore we had to do our own explorer.
The way I have got it setup is as follows:
1) Data Dictionary component, which has the three pipelines assigned to it.
2) Report component.
3) Designer component with the data dictionary and the report assigned to
it.
This is the code when the clicks on the design button:
begin
AReportFileName := IReportFilesPath + '\' +
Trim(ReportsTempList.FileName) + .rtm';
if FileExists(AReportFileName) then begin
ppReport.Template.FileName := AReportFileName;
ppReport.Template.LoadFromFile;
ppDesigner.ShowModal;
end;
Am I missing something?
Regards
NB
Adaptev Ltd
Manchester
UK
I get access violation when I try to open up a report in design mode.
I have my own Report Explorer which is similar to your own, but because we
display the data in a certain way therefore we had to do our own explorer.
The way I have got it setup is as follows:
1) Data Dictionary component, which has the three pipelines assigned to it.
2) Report component.
3) Designer component with the data dictionary and the report assigned to
it.
This is the code when the clicks on the design button:
begin
AReportFileName := IReportFilesPath + '\' +
Trim(ReportsTempList.FileName) + .rtm';
if FileExists(AReportFileName) then begin
ppReport.Template.FileName := AReportFileName;
ppReport.Template.LoadFromFile;
ppDesigner.ShowModal;
end;
Am I missing something?
Regards
NB
Adaptev Ltd
Manchester
UK
This discussion has been closed.
Comments
Please create a simple, minimal Delphi project that demonstrates the issue
and e-mail in zip format to support@digital-metaphors.com. Use only RB and
standard Delphi components. We can run the project here in the Delphi
debugger and try to determine the cause.
If you want to debug the RB source yourself, modify the Delphi library path
from RBuilder\Lib to RBuilder\Source. Set the Delphi debug options to break
on language exceptions.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com