Problems using UNION with linked Exchange tables

P

Peter

I have 2 linked exchange tables in my database. These are linked to contact
folders on my exchange account.
I can query these tables one in a time, but when I use a SQL statement

SELECT DB1.*
FROM DB1
UNION SELECT DB2.*
FROM DB2

Acces gives an error, that it cannot find table DB2, although it is linked
under this name. Further testing with other linked tables did not solve the
problem. The second table was not found.

Does anyone know hiw to solve this?

Peter
 
D

David Cox

I am not expert in UNION queries, but try:

( SELECT DB1.* FROM DB1)
UNION
(SELECT DB2.* FROM DB2);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top