全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1057
推到 Plurk!
推到 Facebook!

ANN:ReportHelper Component

 
code6421
版主


發表:43
回覆:223
積分:208
註冊:2002-08-16

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-03-20 14:08:17 IP:61.216.xxx.xxx 未訂閱
由於DELPHI 8並未附帶Crystal Report, 因此我寫了這個元件,讓DELPHI 8 可以使用 Crystal Report.    samples.
  ReportHelper1.GenerateReport(Self,Server.MapPath('CrystalReport1.rpt'));
  Response.ContentType := 'application/pdf';
  Response.WriteFile(Server.MapPath('\report\CrystalReport1.pdf'));
  Response.Flush;
  //Response.End; //delphi.net complier bug,can't complied.
http://www.dreams.idv.tw/~code6421/files/CrystalReportLib.zip Full Source Included (C#,VS.NET 2003) Notes. 1.you need Report Designer,like VS.NET,C# Buidler or Crystal Report Pro. 2.you need create sub-directory 'report' in virtual directory. 3.in IIS,you need grant IIS_WPG user write permission of report directory. Just coding... Taiwan:http://code6421.ktop.com.tw China:http://home.hoolee.com/~code6421 發表人 - code6421 於 2004/03/20 14:09:15 發表人 - code6421 於 2004/03/20 14:12:43
------
Just codeing...
bear28
一般會員


發表:44
回覆:53
積分:19
註冊:2002-09-10

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-03-22 22:20:32 IP:211.22.xxx.xxx 未訂閱
感謝你的無私... 請問此元件要連接crystal report,只要系統有裝crystal report就可以嗎? 謝謝...
code6421
版主


發表:43
回覆:223
積分:208
註冊:2002-08-16

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-03-23 17:18:39 IP:61.216.xxx.xxx 未訂閱
引言: 感謝你的無私... 請問此元件要連接crystal report,只要系統有裝crystal report就可以嗎?
Crystal Report Pro or C# Builder,VS.NET. Just coding... Taiwan:http://code6421.ktop.com.tw China:http://home.hoolee.com/~code6421
------
Just codeing...
系統時間:2024-05-18 0:45:29
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!