Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Class TraCodeModule not found

edited August 2003 in General
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.

Comments

This discussion has been closed.