我用的是FR3.0的報表具,可是用不了我自定的的報表游覽器:
fReportViewForm :=TfReportViewForm.Create(self);
frxReport.Preview :=fReportViewForm.frxPreview;
fReportViewForm.frxPreview.Show;
frxReport.ShowReport;
frxReport已經加載了報表,但游覽時報表為空,為什麼???

解决方案 »

  1.   

    呵呵,不懂FR的,接分的http://lysoft.7u7.net
      

  2.   

    没有用过,但是看到 ly_liuyang(Liu Yang)也来接分,很奇怪 呵呵
      

  3.   

    用它自带的浏览器是可以的:
    frxReport.ShowReport;
    但不知为什么下面的不行:
    fReportViewForm :=TfReportViewForm.Create(self);
    frxReport.Preview :=fReportViewForm.frxPreview;
    frxReport.ShowReport;
      

  4.   

    frReport1.LoadFromFile('set.frf');
            frReport1.ShowReport;
      

  5.   

    我把加载报表的也写出来吧:
    frxReport.LoadFromFile(d:\Test.frf);
    fReportViewForm :=TfReportViewForm.Create(self);
    frxReport.Preview :=fReportViewForm.frxPreview;
    frxReport.ShowReport;
    上面仍然不行.
      

  6.   

    先把fReportViewForm  Show出来,然后再frxReport.ShowReport;