开发者

Printing a crystal report in a loop using .NET

开发者 https://www.devze.com 2022-12-12 17:03 出处:网络
I have a crystal report named EmployeeDetails.rpt which prints all the details for a particular employee in a formatted way.

I have a crystal report named EmployeeDetails.rpt which prints all the details for a particular employee in a formatted way.

Now i have new requirement, to print the same EmployeeDetails report for a list of employees.i.e

For each employee in the Employees list.

Print report EmployeeDetails.rpt

End

How can i realise the same, Does Crystal reports give any options to support such a report Or i have to realise the logic in m开发者_高级运维y .NET code ?

Thanks in advance


If you are passing the report an EmployeeID as param, then yes, you will have to loop the Employee List and reapply the Report Params for each new EmployeeID.

0

精彩评论

暂无评论...
验证码 换一张
取 消