Have you tried clearing the recordsource also? When there is a recordsource the ADOobject will try to connect before you can give it a new connectionstring.
Clearing the recordsource at designtime and setting the value at runtime after setting the new connectionstring prevents this.
I ran into...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.