crystal reports to display a single record............

Posted by Samanthajyesta under ASP.NET on 5/28/2010 | Views : 3380 | Status : [Member] | Replies : 1
hi web master,

i've a database with any number of records.
i designed a page where im displaying an individual employees details by clicking the next button.
and i 've a button ,when i click on that button, it should generate a report of that particular employee only.
can anybody plz solve this..


Posted by: Naraayanan on: 1/6/2012 [Member] Starter | Points: 25


Step: 1
get an Employee ID from the Employee details.Store in a string value.
Step: 2
Create a Query like this
 Select * from tblemployeedetails where employeeID=@employeeID

call that query in your crystal report
step: 4
Create a form and Insert the Crystal report
Step: 5
Pass the Parameter value in the Crystal report.
Parameter is "String Value(Employee ID")

Lakshmi Naraayanan.S

Samanthajyesta, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response