URGENT!! PLEASE HELP!!

J

James

Would you like me to send you a copy of the database would
this help any?

Many Thanks

James
 
H

Howard Brody

James:

You need to use a Union query and you need to select the
same fields and field names from each table. If a field
does not exist or has a different name you can rename it
in the query. I always make sure I have the same fields
with the same field names in the same order.

In this example, there is not a Middle Initial field in
tblTable2 and the fields are named differently in each
table:

SELECT tblTable1.FirstName, tblTable1.MiddleInitial,
tblTable1.LastName
FROM tblTable1

UNION SELECT tblTable2.FNAME AS FirstName, NULL as
MiddleInitial, tblTable2.LNAME AS LastName
FROM tblTable2;

Hope this helps!

Howard Brody
 

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