Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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

 Hi,
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




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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.