Hello, I am new to VB.NET programming. I would like to run an existing crystal report from within the application. I have created the form with the crystal report viewer and have added a command button. I would like to have the user just click the button and have the report run. I tried using this on the button:
CrystalReportViewer1.ReportSource = "\\FR\d\creports\WD\totalsales.rpt"
I then get prompted for the database login info, however, when I enter the data it fails. Can someone help me with the code to connect to an ODBC that is located on this workstation?