1
Answer

Reports

Sriram Ramani

Sriram Ramani

15y
2.5k
1

Hi there,

             i need some recommendations regarding generating a report. Here is the situation, i have a project that uses a database , now i have deployed it, the project's application files gets saved in c: including the database. Now wat i need is , a report should be generated when i click a button named "Generate report" in vb.... which directly takes the database the project uses from the location the database is stored.The database fle used is MS-Access..

I have used

str = Application.StartupPath & "\CrystalReport1.rpt"

CrystalReportViewer1.ReportSource = str

to load the report file , but how to load the database into the rtp file?

Please urgent help me

Answers (1)