954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Dynamic path for crystal reports

Hello Friends,

I need an urgent help on the below topic....

I have created a project which takes the database dyanamically....

Means when the application starts it will ask for the database path....the database will already be created in some or the other folder....

The path for database is stored in one text file....

It is an access database....

While creating crystal report I had created the report using the database....but that became static...and the report is not able to fetch the records since it is not getting the database

Now I want that while the application runs....a connection should be set up to the dyanamic database path and the report should be viewed....

Please help me in this....

Help me to understand how shud I create the database connection for crystal report in vb.net

poojavb
Posting Whiz
324 posts since Nov 2011
Reputation Points: 31
Solved Threads: 37
 

Hello Friends,

I need an urgent help on the below topic....

I have created a project which takes the database dyanamically....

Means when the application starts it will ask for the database path....the database will already be created in some or the other folder....

The path for database is stored in one text file....

It is an access database....

While creating crystal report I had created the report using the database....but that became static...and the report is not able to fetch the records since it is not getting the database

Now I want that while the application runs....a connection should be set up to the dyanamic database path and the report should be viewed....

Please help me in this....

Help me to understand how shud I create the database connection for crystal report in vb.net


I had to copy the reports folder also...

poojavb
Posting Whiz
324 posts since Nov 2011
Reputation Points: 31
Solved Threads: 37
 

why dont you use an openfile dialog to browse to the file at application startup ?
the openfile dialog will then have the path of the file..you can use that file then OR copy it to other directory.

bilal_fazlani
Junior Poster in Training
55 posts since Oct 2011
Reputation Points: 10
Solved Threads: 3
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You