Hi,
My Application uses an MS ACCESS Database that is stored in the Debug Directory.
Whilst on the development machine, the crystal reports behave as required.
When I deploy the application onto a workstation, the application works fine, but crystal reports is still pointing the location as on the development machine.
After copying all the reports to the debug directory, most errors are eliminated however the connection to database is still causing a problem.
I have tried this without success:
crConnectionInfo.AllowCustomConnection = true;
string rptPath = Application.StartupPath;
crConnectionInfo.DatabaseName = rptPath + @"\POSRSI.mdb";
crConnectionInfo.UserID = "";
crConnectionInfo.Password = "";
How can I programmatically, change the crystal reports connection path?
Your help is appreciated.