473,385 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Linked SQL Tables

I have an Access frontend for an SQL backend. I'm simply using ODBC to
connect. On my copy of this Access database, I have four linked tables and
all works well. If I copy the Access MDB to another workstation, I have to
1) recreate my ODBC connections, 2) delete all my linked tables, and then 3)
recreate the linked tables.

Ideas to automate this? I'd like to have multiple users use my MDB. Thanks
in advance.
Nov 13 '05 #1
3 1252
Take a look at what I have at
http://members.rogers.com/douglas.j....LessLinks.html about how to
avoid having to create DSNs.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Enzo's Dad" <~D**********@Hotmail.com> wrote in message
news:Gq**************@news.uswest.net...
I have an Access frontend for an SQL backend. I'm simply using ODBC to
connect. On my copy of this Access database, I have four linked tables and all works well. If I copy the Access MDB to another workstation, I have to 1) recreate my ODBC connections, 2) delete all my linked tables, and then 3) recreate the linked tables.

Ideas to automate this? I'd like to have multiple users use my MDB. Thanks in advance.

Nov 13 '05 #2
There are 3 different types of ODBC set up
User
System
File

I think File's the one you want - this incorporates itself into the mdb and
moves with it

"Enzo's Dad" <~D**********@Hotmail.com> wrote in message
news:Gq**************@news.uswest.net...
I have an Access frontend for an SQL backend. I'm simply using ODBC to
connect. On my copy of this Access database, I have four linked tables and all works well. If I copy the Access MDB to another workstation, I have to 1) recreate my ODBC connections, 2) delete all my linked tables, and then 3) recreate the linked tables.

Ideas to automate this? I'd like to have multiple users use my MDB. Thanks in advance.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.714 / Virus Database: 470 - Release Date: 02/07/2004
Nov 13 '05 #3
Not so. It's a external file to the database, and has to be distributed
along with the MDB. Granted, that may be easier than creating a DSN, but
DSN-less is far superior, in my opinion.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"martinjeffreys" <ma************@btinternet.com> wrote in message
news:cg**********@titan.btinternet.com...
There are 3 different types of ODBC set up
User
System
File

I think File's the one you want - this incorporates itself into the mdb and moves with it

"Enzo's Dad" <~D**********@Hotmail.com> wrote in message
news:Gq**************@news.uswest.net...
I have an Access frontend for an SQL backend. I'm simply using ODBC to
connect. On my copy of this Access database, I have four linked tables and
all works well. If I copy the Access MDB to another workstation, I have

to
1) recreate my ODBC connections, 2) delete all my linked tables, and

then 3)
recreate the linked tables.

Ideas to automate this? I'd like to have multiple users use my MDB.

Thanks
in advance.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.714 / Virus Database: 470 - Release Date: 02/07/2004

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
5
by: pinballjim | last post by:
Hello everyone, I'm looking for a simple way to create a local copy of a linked table. I've got a database that links about 10 tables from other databases. This works fine on my machine, but I...
2
by: Robert McGregor | last post by:
Hi all, I've got a Front End / Back End database that was working just fine. One day i opened the FE to find that if I tried to open one of the linked tables from the database window, nothing...
5
by: b b | last post by:
I created the following code to delete all linked tables in my database (Access 200): -------------------------------------------------------- Dim tbl As TableDef Dim dbs As Database Set dbs...
4
by: Neil Ginsberg | last post by:
I have ODBC linked tables to a SQL 7 database in an A2K database. The linked tables do not have the password stored in them, so the first time the user accesses them, they need to enter the SQL...
7
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For...
3
by: Zlatko Matić | last post by:
Hi! What happens with linked tables if they were linked using File DSN, when I copy the Access file on some other PC without File DSN ? What is the difference between DSN on linked tables and...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.