|
-
November 9th, 2003, 08:49 AM
#1
Setting database path at Run-Time for Crystal Report
Hi,
I've designed a report based on a ADO database using a connection string. While building the connection string I pointed out the database from which the data is extracted.
The report runs on the development machine no problems, but when I try to run it on a deployment machine I get a Database Error:
"[Microsoft][ODBC Microsoft Access Driver] '(Unknown)' is not a valid path. Make sure the path name is spelled correctly and that you are connected to the server on which the file resides".
I pass an ADO recordset to the report so I'm no sure why the report tries to look for the database where it was at the design stage.
My question is: how can I set the database's path at run time (or how do I get rid of the error)?
Thanx
Last edited by Shafan; December 21st, 2003 at 12:42 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|