Combining 2 fields into one

G

Guest

I have 2 databases with 2 tables named "ShipAddress", I linked one table to
one of the databases and becomes "ShipAddress1". On both tables there is a
field name "ShipName". I need on a form on datasheet view to show on 1 field
the "ShipName" from both tables
 
K

Ken Snell \(MVP\)

A union query will do this for you:

SELECT ShipAddress.ShipName
FROM ShipAddress
UNION
SELECT ShipAddress1.ShipName
FROM ShipAddress1;
 
G

Guest

It worked!

Thank you for your help

Ken Snell (MVP) said:
A union query will do this for you:

SELECT ShipAddress.ShipName
FROM ShipAddress
UNION
SELECT ShipAddress1.ShipName
FROM ShipAddress1;
 

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