ADP Connection properties

  • Thread starter Thread starter ZRexRider
  • Start date Start date
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
 
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
 
Back
Top