Hi Kevin,
Thanks for replying.
I tried the code that you gave
ReportDocument oReport = new ReportDocument();
oReport.Load(cFileName);
myForm.CrystalViewer.ReportSource = oReport;
But when the viewer is loaded it prompts me for a server, login and password.
I added this code and it worked fine
oReport.SetDatabaseLogon("user","password");
But when I tried to change the added code into this code below to specify my Server and Database, it again asks for Username and password.
oReport.SetDatabaseLogon("user","password","server","dbase");
I know Im missing something with it but I just can't figure it out...
I want to specify the server and the database where the data resides.
I did not expect that there are typed and untyped crystal reports. Can you give me a simple walkthrough? I don't want my reports.rpt files be binded on the dll because I want the users to have freedom to modify these reports.
Thanks in advance...
Music Rocks
www.musicreserve.blogspot.comSuccess is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.