Regarging Crystal reports
Hi experts,
(Using access database!)Now i have situation , i need to create a billing software . I have created a crystal report in vs 2008. I have added a dataset which contains the lists of tables and i have a report template created , then i have added the fields needed to be shown in the report. Now what i need is when creating the dataset i added the database field to it by directly selecting the database from my local system . I have a doubt that when i deploy the project to the client's machine if the database file gets installed to some other location?. Can they still have the report generated properly or will there be any problem?
Sriram RamaniPosted Nov 4, 2009, 3:52 AM
Nilanka DharmadasaPosted Nov 4, 2009, 2:23 AM
Great. Now you have a crystal report template and you have added a dataset to the report.
Eventhough you have conncted it with your local database, if you pass a dataset from your code to the report, the report will show the data set passed by the code. Not the dataset which was set at the creation of the report.
So, if you deploy your database at any location, make sure to access it and get a dataset and pass it to the report through the code. If you pass a dataset, the report will show it. If you dont pass anything, the report will try to connect to you local database and get the dataset from that DB.
Hoe you got my point.
If this answer answers your problem, please spend a few seconds to accept this answer.
Arumugam APosted Nov 4, 2009, 2:17 AM
It will work fine as of now.
but u have to change the server name in the connection string