Little problem in Crystal Reports
-
Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR
-
Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR
Use ODBC in Crystal reports for getting data and build ODBC on the Client side after installing the application. Will solve every thing
-
Hi, I make a small project in Vb.NET, it also have some crystal reports. The reports works well in my computer. But when I run my project on other computer, the reports cannot runs well. Actually it gives a dialog box and ask to Enter "Server name","Database Name", "Login ID", "PAssword" Why this happens when my project runs on other computer. Plz give me a possible solution. EsHbAn BaHaDuR
Gosh, I wasted alot of time playing around with this. An ODBC direct link is fine, as long as your data source doesnt change. eg: your software goes out to a customer, with different servername, database name, login, etc. You can program vb to change the the datasource information at runtime before the report loads. Thats gives you better customisation. Or alternately, as I have come to realise, do all your data selection in vb, and pass a dataset to CR instead. When designing the report, run your program quickly, but include a dataset.writeschema (c:\myschema.xsd) Then when you set the datasource for the report, choose xml. So much easier, neater programming, better maintainability. The selection criteria in CR becomes redundant (which is a blessing). Or... yeh, if its just 1 report in your office, odbc links are fine! :)