Version 4 trial

Hi All

I am trying out Ver 4 with D2009. When I try and load a report(dot matrix) as below it does not work.
I have checked the report name and path. If I debug and run up to Loadfromfile, a box
pops up prompting me for the "frxclass.pas" file. I have used this code in Ver3 with no
problem. Can someone assist. Once I have sorted this out I intent to upgrade. >
Query1.Parameters.ParamByName('ShKey').Value := ShKey;
  Query1.Open;
  if frxReport3.LoadFromFile(ExtractFilePath(Application.ExeName)+
                            'Reports\ShfRep4.fr3') then
   begin
    frxReport3.PrepareReport(True);
    frxReport3.Print;
   end;


Thanks
Godfrey

Leave a Comment