L
Logo
Is all I want to do is combine two records from a query. I have data from a
query from a lunch account and from a dinner account. All I need to do is
combine the data into one account. There are probably around 10 fields of
data, but they all have the same properties.
Surely this is easier than I'm making it out to be? I tried a union query,
but didn't get what I wanted. This is what I'm looking at-
SELECT *
FROM TableData
WHERE AccountName=(restname);
I want to combine with-
SELECT *
FROM TableData
WHERE AccountName=(restnamelunch);
I want to combine the results into one record named maybe (restnamecombined).
Most of the fields would be summed, except for the name and id#, but a few
of the fields near the end would be averaged. TIA
query from a lunch account and from a dinner account. All I need to do is
combine the data into one account. There are probably around 10 fields of
data, but they all have the same properties.
Surely this is easier than I'm making it out to be? I tried a union query,
but didn't get what I wanted. This is what I'm looking at-
SELECT *
FROM TableData
WHERE AccountName=(restname);
I want to combine with-
SELECT *
FROM TableData
WHERE AccountName=(restnamelunch);
I want to combine the results into one record named maybe (restnamecombined).
Most of the fields would be summed, except for the name and id#, but a few
of the fields near the end would be averaged. TIA