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 / Queries / November 2005

Tip: Looking for answers? Try searching our database.

Setting ODBC Connection string of Pass thru query dynamically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jayashree Krishna - 25 Nov 2005 04:17 GMT
Hi,

I have the ODBC Connect str of access 2000 pass thry query ,pointing to
oracle driver.How can I  set the ODBC Connection string of Pass thru query
dynamically from the VBA code. I want the string to point to production
environment or development environment based on the choice the user makes.

Any help is greatly appreciated.

Thanks,
Krishna
Duane Hookom - 25 Nov 2005 06:50 GMT
A little DAO code like:

Currentdb.QueryDefs("qsptYourQuery").Connect = "...."

Signature

Duane Hookom
MS Access MVP

> Hi,
>
[quoted text clipped - 7 lines]
> Thanks,
> Krishna
 
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.