Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / December 2005

Tip: Looking for answers? Try searching our database.

ADP Connection properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZRexRider - 02 Dec 2005 19:05 GMT
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
Vadim Rapp - 03 Dec 2005 13:22 GMT
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
ZRexRider - 06 Dec 2005 00:20 GMT
exactly!  

Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.