Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 25th, 2004, 04:45 PM
Registered User
Join Date: Sep 2004
Location: Istanbul, , Turkey.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to peace
Default ODBC Default Database

I am writing a program which will work on several computers. On the same network each computer connects the same SQL Server and creates Linked Tables on Access. The problem is, the ODBC on each computer has the same name but different defalut database. I want each of these computers to connect to their own database. Is there a way that i can learn the default database of an ODBC through VB code? My current solution is i am making ADOX connection for each table (i link 30 tables, but DB has 50 tables). It automatically connects to default DB but it is very slow. I couldnt do this with DoCmd.TransferDatabase command. Is it possible ?

Thanks For Help
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Connection ASP code for Informix Database kapi.goel Classic ASP Databases 0 May 12th, 2006 06:19 AM
dynamic menus off odbc database sionsolo42069 ASP.NET 2.0 Professional 5 March 21st, 2006 12:33 AM
Error with ASP.NET opening OleDb/ODBC database gdelia1 ADO.NET 6 October 5th, 2005 01:50 AM
ODBC link to SQL database from Access mlwallin SQL Server 2000 2 January 24th, 2005 05:30 PM
ODBC Default Database peace Access 0 September 25th, 2004 04:32 PM

All times are GMT -4. The time now is 02:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.