各位大蝦﹐如何在delphi中應用水晶報表crystal? Thanks.

解决方案 »

  1.   

    你有Delphi下的Crystal report包嗎?
      

  2.   

    还要安装crystal软件,用这个软件制作报表,用控件使用报表。
      

  3.   

    如果单独出个报表就很简单,水晶报表的安装盘就提供delphi使用的控件了
      

  4.   

    多謝各位了﹐我們主要是想脫离delphi環境﹐讓用戶使用產品時自己可以做些報表。如果誰能提供一些示例﹐本人感激不盡。
      

  5.   

    Crystal report安裝光碟中自帶有Delphi package
    FastReport就可以實現你的想法, 在Application時自定義報表
      

  6.   

    self.CrystalReport1.Reset;
      self.CrystalReport1.Connect:= 'DSN=tapcs;UID= taadmin;PWD=taadmin;DSQ=tapcs';
      self.CrystalReport1.ReportFileName:=sReportFileName;
      self.CrystalReport1.WindowShowPrintBtn:=true;
      self.CrystalReport1.WindowShowPrintSetupBtn:=true;
      self.CrystalReport1.SelectionFormula:=sFormula;
      self.CrystalReport1.Action:=1;控件import type libary先
      

  7.   

    先装水晶报表,然后在类似的路径下找控件安装包,然后看帮助,当普通控件用
    E:\Crystal Reports 9\Samples\chs\Code\Delphi