Access 2007 1 query with multiple linked tables

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

mtsnorider

Thread Starter
Joined
Jan 2, 2013
Messages
3
Hello,

I am somewhat familiar with access and excel, I am trying to create a query from almost 40 seperate tables that are linked to a file on our server (so the data refreshes when changes occur).

I have tried the SQL option of

Select * from table apr13
union all
Select * from table apr14
union all

Etc...

I continually get this error:

Syntax error in query. Incomplete query expression.

Any assistance would be so helpful!

Ultimately I am trying to track due dates and build interactive dashboards. Since the origional Excel file is several worksheets by month instead of one consecutive sheet - I am trying to create one query that includes all worksheets as seperate imported tables. Most of the tables are exactly the same - just different due dates.
 

mtsnorider

Thread Starter
Joined
Jan 2, 2013
Messages
3
I should clarify that all of the headers in each worksheet are the same. What is listed below can and may be different from first worksheet.
 

OBP

Joined
Mar 8, 2005
Messages
19,895
mtsnorider, welcome to the Forum.
From your description the data should all be in one table and then split up by the query(s).
 

mtsnorider

Thread Starter
Joined
Jan 2, 2013
Messages
3
Unfortunately all of the excel sheets have already been set to different worksheets.

To simplify I combined all of the worksheets to one and then just linked that different consolidated table.
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Are you working in Access or Excel?
As I do not see what Excel will have to do with it once the Access Database is in use, unless you are emailing Excel sheets for "Data Input".
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top