Solved

reading a table from another access database

Posted on 2014-09-22
4
174 Views
Last Modified: 2014-09-22
Experts,


Can I read a table in a query from a database that is located on another drive by just giving the path name.

"\\patha\libary\Reportsfoldera\folderb\WEEKLY_extracts\database_a\table_1"
0
Comment
Question by:morinia
  • 2
4 Comments
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 200 total points
ID: 40336877
No, but you can use this syntax:

SELECT * FROM Table1 IN '\\patha\libary\Reportsfoldera\folderb\WEEKLY_extracts\database_a'

See here: http://office.microsoft.com/en-us/access-help/HV080761082.aspx
0
 
LVL 12

Accepted Solution

by:
danishani earned 300 total points
ID: 40336889
It might be easier to link the table_1 of your other Access database.
Then you can query it just like any other table.

Does that work for you?
0
 

Author Comment

by:morinia
ID: 40336986
Just curious,  can you link to a query?
0
 
LVL 12

Expert Comment

by:danishani
ID: 40336997
Just curious,  can you link to a query?

Not that I am aware of. You can however import the query, but that is not the same as linking.
Also it will not update automatically.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now