Hi ,
Please, can you help me in this regard?
I am having an Access database file, which will be copied in all machines. If I generate crystal report in my machine and that EXE (since its a windows application) when executed in other machines, the LOGIN FAILED error comes when report is opened , (Because of the database path that error comes).
How to generate a report for a particular MS-Access table, by taking the database that has been copied in other machines ? so that login failed error can be avoided?
Please answer or give some ideas..
Thanks In Advance,
Karthick.
Long ThanhPosted Jul 19, 2005, 5:09 AM
You can try this way: You creat a DataTable and fill data into it by DataAdapter connect to your database, after you set datasource for your report:
MyReport oRpt=new MyReport();
oRpt.SetDataSource(MyDataTable);
MyViewer.ReportSource=oRpt;