G
Guest
Can someone please help me. The trick to this one is eluding me.
I have two tables that I need to combine in access. Both tables contain
the same basic information, but I need to print a report to see what the
amount differences between the two tables. The only thing is that the
Entity, Group, and ID columns may differ in the number of items.
Table 1 and table 2 basic layouts:
Entity Group ID Amount1 Amount2 Amount3
00001 AAA Z 0000 0000 0000
00001 BBB Y 0000 0000 0000
00002 CCC X 0000 0000 0000
00002 DDD X 0000 0000 0000
Items in the ID field may be the same so I need combine each amount to total
amount for each for each ID for each entity and group. Once I get a total of
each ID in each entity and group, I need to combine the two tables in one
query that contains all of the data from each of the two initial tables.
This is my tricky part, how do I write a query to combine ALL of the data
from each table, even though the data in each table may differ? I can write
expressions in a report to give me differences, that is no problem, to give
me the amount differences are between the two tables for each entity, group,
and ID.
Basically, how do I combine like ID items in the same table and then combine
the two tables, with combined ID #s, where the end result query contains all
of the data from each table?
I have two tables that I need to combine in access. Both tables contain
the same basic information, but I need to print a report to see what the
amount differences between the two tables. The only thing is that the
Entity, Group, and ID columns may differ in the number of items.
Table 1 and table 2 basic layouts:
Entity Group ID Amount1 Amount2 Amount3
00001 AAA Z 0000 0000 0000
00001 BBB Y 0000 0000 0000
00002 CCC X 0000 0000 0000
00002 DDD X 0000 0000 0000
Items in the ID field may be the same so I need combine each amount to total
amount for each for each ID for each entity and group. Once I get a total of
each ID in each entity and group, I need to combine the two tables in one
query that contains all of the data from each of the two initial tables.
This is my tricky part, how do I write a query to combine ALL of the data
from each table, even though the data in each table may differ? I can write
expressions in a report to give me differences, that is no problem, to give
me the amount differences are between the two tables for each entity, group,
and ID.
Basically, how do I combine like ID items in the same table and then combine
the two tables, with combined ID #s, where the end result query contains all
of the data from each table?