473,385 Members | 2,015 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.

Linking a table

Little puzzle this.

I need to link from SQL2000 to Access to get to a table held within an
Access DB. Now you can link within Access to a SQL table, but can this
be done the other way round ? It's the first time I've needed to do
something like this.

What I have is an application which was written (by me) with an Access
backend (to run on a CD) and now it needs to run on SQL. However, I
want to be able to swap over between backends so that I can choose
where this runs from. I've done this with the sole exception of one
table. Previously most of the data was held in one MDB file and a link
to another (one local copy and one on CD). My queries use the link to
query both local and the CD copy data together.

I can re-write things if I need to, but I was curious about there being
a way of doing this. What I want in effect is to query a view on SQL,
but the data will be held in Access instead of on SQL.

I suppose I can import as I need it as the data is purely read only. I
don't think this can be done, but wanted to check first. I can always
move the remainder of the data over to SQL if needed. It's not a big
problem, just something I'm curious about.

Any pointers would be appreciated.

Thanks in advance

Ryan

p.s. In case anyone wonders why I have taken this approach it is
because we have a query tool and data that we send out to clients on
CD. Some now want this web based, so I will publish the application on
a Citrix server, and by changing a config file can swap within the
application to point to SQL (by changing the ODBC settings). This way,
I only need one copy of the application and can change backends as I
need to.

Nov 10 '05 #1
2 1290
How about a linked server that uses the JET OLEDB provider?

---
Mark Graveline
Take The Challenge
http://www.sqlchallenge.com
---

Nov 10 '05 #2
Cool. That looks about what I was after. I'll have a play with it, but
thanks for the pointer.

Nov 10 '05 #3

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

Similar topics

5
by: Brian | last post by:
I need to import data from 720 csv files into an Access database so I can do some editing prior to loading into a SQL Server. These files came from data output from a mainframe on a monthly basis....
5
by: Arvin Portlock | last post by:
I can't come up with a query that works. Can anyone help? Conceptually the relationships are easy to describe. I have a table for books (Entries), a table for authors (Authors), and a linking...
2
by: Olly | last post by:
Find an id number not present in a linking table I have a linking table (tblPayment) that monitors the subscriptions from members. However, I need a query that can compare the ID number fields...
2
by: TheTamdino | last post by:
One of the things that is common between most genealogy databases is that they will have one screen were you log all the information for a given person and then (maybe) have a link to a source...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
2
by: cmd | last post by:
I use a utility database and the following code to link from an original backend to a temporary backend, in order to replace the original with a newer version: Dim dbs As Database Dim tdf As...
1
by: hmiller | last post by:
I'm sorry to populate the server with yet another question about linking multiple tables and queries, howerver I have not been able to find the right criteria. My problem. I am trying to...
3
by: TonyJH226 | last post by:
I’m using Access 2003 and am a novice to Access. I am creating a form to facilitate data entry to seven tables. The main table (A) has four sub-tables that are related to the main table by...
3
by: ARC | last post by:
I'm having trouble here with Access 2007 and connecting to a different database. The code below works great IF the previous back-end database connection is still present and you are trying to...
1
by: KayC | last post by:
Hi, I am running Access2002. I have to support a legacy Access database that has a linked table to a .prn file On one machine a vba routine can open and manipute the linked table. On another...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.