Re: AXS2000: Create ADO connection to external database

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,
thanks for your quick response.
How do I change the Database-Name?
Best regards
Wolfgang
On 28 Aug., 13:38, "Alex Dybenko"
<alex...@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
try:
CurrentProject.Connection

--
Best regards,
___________
Alex Dybenko (MVP)http://alexdyb.blogspot.comhttp://www.PointLtd.com

"Wolfgang Kreuzer" <wmkreu...@xxxxxx> wrote in message

news:1188297689.574710.28250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



I need to create an ADO connetcion by code to pass it over to an ADOX
library as parameter.
The conection to the database I want to pass over is an (secured)
external database (MDB) and I want to use the login of the current
session and not ask the user to enter the login information again.

In DAO I would use the workgroup(0) and oper the database in that
context. Up til now I found no way to do similar in ADO.

Any help is appreciated.

Regards

Wolfgang- Zitierten Text ausblenden -

- Zitierten Text anzeigen -


.



Relevant Pages