Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying reports in a directory using Crystal report viewer

Status
Not open for further replies.

anurc

Programmer
Jul 11, 2002
18
US
hi,
I have a .Net Windows application. In this application i need to implement a custom report feature. This feature will allow my clents to implement adhoc reports and put them in the specified directory. Using my application they should be able to see the reports in a form with crystal report viewer in it. To achieve this, here is what i may have to do:
when the application starts up read all the reports from the directory and list them in a list box or something and when they click each report it be should opened in a crystal report viewer by setting the viewer.ReportSource="c:\temp\x.rpt"
However, in this case how do i dynamically set the database connection settings and pass any parameters that the report might need (I want to avoid the user typing in the parameters )?
Any ideas on this ?
thanks
Arc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top