Class TraCodeModule not found
I'm trying to run a report and get the error message "Class TraCodeModule
not found"
The report works fine as long as I do not add variables to the .rtm file.
I have DBCalc1 and DBCalc2 and wish to add the two together.
The Version of ReportBuilder I'm using is V6.03 and Delphi 6.
The piece of code that calls the report is as follows.
try
ppReport1 := TppReport.Create(self);
with ppReport1 do
begin
Template.FileName := OpenCal.RptDirectory + '\statement.rtm';
Template.LoadFromFile;
PrinterSetUp.DocumentName := 'Statement for contract'+ con;
DeviceType := dtScreen;
Print;
end;
finally
ppReport1.Free;
end;
Any assistance in solving this problem would be gratefully received.
Martin.
not found"
The report works fine as long as I do not add variables to the .rtm file.
I have DBCalc1 and DBCalc2 and wish to add the two together.
The Version of ReportBuilder I'm using is V6.03 and Delphi 6.
The piece of code that calls the report is as follows.
try
ppReport1 := TppReport.Create(self);
with ppReport1 do
begin
Template.FileName := OpenCal.RptDirectory + '\statement.rtm';
Template.LoadFromFile;
PrinterSetUp.DocumentName := 'Statement for contract'+ con;
DeviceType := dtScreen;
Print;
end;
finally
ppReport1.Free;
end;
Any assistance in solving this problem would be gratefully received.
Martin.
This discussion has been closed.
Comments
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com