在不提供参数的情况下加载晶体报告 [英] Loading a crystal report without giving parametrs
问题描述
亲爱的所有
在我的Windows应用程序中,我使用crystalReport打印报告。有一种形式说; 月度报表可用于打印某些记录的月度报表。在Crystal Report中,我使用两个参数从数据库中检索数据,如 A / C否和付款日期。每当我运行月度报表进行打印时,它会调用 crystaReportViewer表单来打印数据, crystaReportViewer表单首先初始化两个表单,输入A / C No,其次,输入Dates,我不想要,请有人帮帮我。
Dear All
In my Windows Application, I used crystalReport to print report. There is a form say; Monthly Statement available to print monthly statement of some records. In the Crystal Report I used two parameters to retrieve data from database say A/C No and Date of Payment. Whenever I run the Monthly Statement for printing purpose, it calls the crystaReportViewer form to to print data, the crystaReportViewer form initializes two forms asking first, Enter A/C No and secondly, Enter Dates, which I don't want, please someone help me.
推荐答案
你必须在运行时设置这些参数的值。
使用c#在运行时将参数传递给Crystal Reports [ ^ ]
You have to set values for those parameters at runtime.
Passing parameters to Crystal Reports at runtime with c#[^]
这篇关于在不提供参数的情况下加载晶体报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!