ADP Connection properties


Z

ZRexRider

Hi,

I have a function that checks the ADP SQL connection using:

CurrentProject.Connection.State

I trap the error and return FALSE.

I would like to present the user with some detailed information
regarding the connection string that was used to attempt the
connection. I find that I cannot use:

CurrentProject.Connection.ConnectionString

Since it seems to go out and try to connect to the DB again.

However, I can go to the MS Access Menu (File|Connection) and view
some values in the "Data Link Properties".

Is there a way that I can access those properties so I can include
their values in my error message"?

Thanks
 
Ad

Advertisements

V

Vadim Rapp

Hello,
You wrote on 2 Dec 2005 11:05:33 -0800:
Z> connection. I find that I cannot use:
Z> CurrentProject.Connection.ConnectionString
Z> Since it seems to go out and try to connect to the DB again.
Z> However, I can go to the MS Access Menu (File|Connection) and view
Z> some values in the "Data Link Properties".
Z> Is there a way that I can access those properties so I can include
Z> their values in my error message"?

currentproject.baseconnectionstring

Regards
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top