如何在带有日期时间范围参数和EmployeeID参数的Crystal报表中添加子报表,并避免离散值 [英] how to add sub report in crystal report with datetime range parameter and EmployeeID Parameter and avoid discrete value
问题描述
我创建了一个带有员工薪水信息的透明报表,该报表传递了参数DateTo,DateFrom和EmployeeID,现在我想使用三个参数从EmployeeAdvancePay表中向Employee显示AdvancePay,但是我运行此报表时要求输入离散值离散值,它显示AdvancePay以及其他信息.现在,我要显示报表,而不会出现离散值的干扰.
请帮助尽快解决这个问题!某人!,我将永远伟大.
问候
莎·诺曼
软件工程师
Callsnit
I create a crystal report with Employee salary information passing the parameter DateTo, DateFrom and EmployeeID, Now I want to show AdvancePay to Employee from EmployeeAdvancePay table with three parameters, but I run this report it ask for discrete value, When I input discrete value, It shows AdvancePay with other information. Now, I want to show report without this disturbance of discrete value.
Please help regard this ASAP! someone !!, I will greateful forever.
Regards
Shah Noman
Software Engineer
Callsnit
推荐答案
您应在代码中动态设置参数值.您使用什么语言?至少您应该在标签或问题中提到过.
ReportDocument.SetParameterValueMethod http://devlibrary.businessobjects.com/businessobjectsxir2/zh-CN/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineReportDocumentSetSetValueValueic.htm"target =" _ blank"title =" New Window> />
如何将离散参数传递给Crystal Reports VB.NET [使用ASP.Net在Crystal Reports中设置参数 [ ^ ]
You should set parameter value in your code dynamically. What language you are using? at least you should have mentioned that in Tag or question.
ReportDocument.SetParameterValue Method[^]
How to pass discrete parameters to Crystal Reports VB.NET[^]
Set Parameter in Crystal Reports using ASP.Net[^]
这篇关于如何在带有日期时间范围参数和EmployeeID参数的Crystal报表中添加子报表,并避免离散值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!