Hi curio11,

I am not sure as to what platform you are working on. I am using VS.Net 2003 and using C#. Here is what I did to solve this issue:

Right before I set the dataSource for my report. I did this:

myReport report = new myReport();
string login = "UserID";
string passWd = "Password";
report.SetDatabaseLogon(login,passWd);

crystalReportViewer1.ReportSource = report;

This did it for me. I hope this helps.

Take care.

Adios!
Salmaan.