var report:tfrreport;
begin
report:=Tfrreport.create;
report.LoadFromFile(extractfilepath(paramstr(0))+'2.frf');
report.ShowReport; 
end;