|
-
March 22nd, 2001, 11:33 AM
#1
Changing ADODC connection string at runtime
If the connectionString property of an ADODC is empty when a form is opening, you get a dialog "Microsoft ODBC Driver Manager - Data source name not found and no default driver specified.
You cannot stop this dialog from coming up. At least I cannot, unless there is a valid connection string already set.
I can change the connection string if a valid one is already there, but I need to acces only one MDB with a name that is not always the same... I don't want to create a dummy MDB to prevent the probem from happening!
Is there anyway to do this?
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
|