Srivatsa
Srivatsa

Reputation: 1

Printing a crystal report in a loop using .NET

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 my .NET code ?

Thanks in advance

Upvotes: 0

Views: 622

Answers (1)

Adriaan Stander
Adriaan Stander

Reputation: 166476

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.

Upvotes: 0

Related Questions