Easiest way is to create a select query in the standard method and then
switch to the SQL view from the design view. You should see something like
SELECT AField, BField, CField
FROM SomeTable
WHERE AField = "xxx";
Delete the semicolon
Type UNION ALL
NOW type in the query for the second table
SELECT AField, BField, CField
FROM SomeTable
WHERE AField = "xxx"
UNION ALL
SELECT DField, EField, FField
FROM SomeOtherTable
WHERE AField = "xxx"
Each query in the UNION must have the same number of fields and the field
types must be alike. So in the sample AField and DField must both be text
fields. If BField is a date field then EField must be a date field. If
CField is a number field then FField must be a number field.
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..