Hi all. I'm a newbie to access and have a question I hope someone might be able to shed light on and point me in the right direction.
Have 5 separate queries that pull transaction data based on different variables. I need to combine the results of all 5 queries into one dataset, from which I'll produce a report to distribute 2x per day (so I can't manually do it). Transactions IDs returned within each query are unique, but may appear in one or many of the 5 queries. My final output must be Transaction ID, and the originating query (reason) or reasons it is on the list. Could be just one, or all five. The number of transaction IDs in each query will vary by day, as each query is independent of all others.
Simple Example (using 3 queries):
Qry1:
ID# 001 Reason 1
ID# 003 Reason 1
ID# 005 Reason 1
Qry 2:
ID# 001 Reason 2
ID# 012 Reason 2
Qry3:
ID# 003 Reason 3
What I need:
ID# Reason(s)
------- --------------------------
001 Reason 1 and 2
003 Reason 1 and 3
005 Reason 1
012 Reason 2
Can anyone help me with this? I appreciate any and all feedback. Thanks for looking, and thanks in advance for your help.
-Peter
Have 5 separate queries that pull transaction data based on different variables. I need to combine the results of all 5 queries into one dataset, from which I'll produce a report to distribute 2x per day (so I can't manually do it). Transactions IDs returned within each query are unique, but may appear in one or many of the 5 queries. My final output must be Transaction ID, and the originating query (reason) or reasons it is on the list. Could be just one, or all five. The number of transaction IDs in each query will vary by day, as each query is independent of all others.
Simple Example (using 3 queries):
Qry1:
ID# 001 Reason 1
ID# 003 Reason 1
ID# 005 Reason 1
Qry 2:
ID# 001 Reason 2
ID# 012 Reason 2
Qry3:
ID# 003 Reason 3
What I need:
ID# Reason(s)
------- --------------------------
001 Reason 1 and 2
003 Reason 1 and 3
005 Reason 1
012 Reason 2
Can anyone help me with this? I appreciate any and all feedback. Thanks for looking, and thanks in advance for your help.
-Peter