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 / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

ODBC Connect String

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FBxiii - 17 Mar 2005 17:59 GMT
Hi,

I have a DB with several ODBC linked tables.

Using Code, I am 'Executing' queries using these tables but require a
password each time.

How do I build up a connect string to use in my SQL to save me having to
re-type the password?

e.g.

strSQL = "SELECT * INTO TEMP_TABLE FROM tblODBC"

db.Execute strSQL

Many thanks,
Steve.
sparker - 17 Mar 2005 20:23 GMT
You can set the connections in your code and pass the user name and password

If you do not know how to write connection strings in code read the following:

http://support.microsoft.com/kb/q193332/

> Hi,
>
[quoted text clipped - 14 lines]
> Many thanks,
> Steve.
 
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.