C
catherine
I'm trying to merge 3 different queries (qrytest,
qrytest2, qrytest3)into one--for reporting purposes. Each
query is matched on a specific ID but has a separate field
based on that ID. For example, qrytest has field Nm,
qrytest2 has Nm2, and qrytest3 has Nm3; Nm in qrytest may
have ID as 1, Nm2 in qrytest2 may be null, and Nm3 in
qrytest3 may have 1. I've tried Union but the result has
one field. I'd like to have:
ID Nm Nm2 Nm3
1 (data) (data).
Instead, I'm getting:
ID Nm
1 (data)
1 (data)
Thanks for any tips.
qrytest2, qrytest3)into one--for reporting purposes. Each
query is matched on a specific ID but has a separate field
based on that ID. For example, qrytest has field Nm,
qrytest2 has Nm2, and qrytest3 has Nm3; Nm in qrytest may
have ID as 1, Nm2 in qrytest2 may be null, and Nm3 in
qrytest3 may have 1. I've tried Union but the result has
one field. I'd like to have:
ID Nm Nm2 Nm3
1 (data) (data).
Instead, I'm getting:
ID Nm
1 (data)
1 (data)
Thanks for any tips.