Crystal Reports Database Path Problem

Machaira

Well-known member
Joined
Aug 19, 2002
Messages
325
Location
Abingdon, MD
Wasnt sure where else to post this, so Ill try here. :)

I have found no way to create a report so that the database it uses contains no path information. I want the report to look for the database in the same folder as the report without a hard-coded path. This is using version 9 of Crystal Reports with VB.NET.
 
I havent used Crystal Reports with .NET yet, but Crytal Reports 7 has a Database -> Set Location... menu option. Click that and the tables in the report show up. The path is defaulted to current directory and if you move the report is tries to find the database in the path where the report is created. If you click the button Same as Report, the path is removed and your report will run as long as it is in the same directory as the database.
 
Hi, all

It took me a lot of hours of surfing the web trying to find a solution to this exact problem, and after giving up searching for an answer, I decided to try my own way... and after a couple of hours playing around with Crystal Reports (mine is for Visual Studio 2008, I think is CR 9...) I found a solution.

All we need to do is use a Datatable to fill in the report.

Here
 
Back
Top