cmcreynolds
Active Member
- Joined
- May 21, 2015
- Messages
- 295
Happy Friday everyone -
I am honestly praying I explain this correctly:
I'm accessing a table in my organization's database and there are various activities recorded there I'm trying to summarize.
For use in my example, the one table is "dbo_Activity" and the first main distinction is the field "Activity_Type" I want to look at these two types:
"Credits" and "Certificates"
Credits has four fields that I look at - MemberID, Category, Units, and Transaction_Date. I use a "Totals" query to sum the units
Certificates has four I need to look at - MemberID, Product_Code and Transaction_Date. (this is normalized, correct?)
My general question is this: I want to query people with a certain number of Units after a certain date (CREDITS) AT THE SAME TIME as having a Product_Code with a Transaction_Date (CERTIFICATES). Is it more efficient to have two separate queries and then join the results? Or would Access "work better" if I had them in the same query?
I've tried using two separate queries, but it seems to crash Access every single time. That's why I was wondering if it would make more sense if I had it in the same query.
I have the SQL ready if you think that'd help explain things.
I am honestly praying I explain this correctly:
I'm accessing a table in my organization's database and there are various activities recorded there I'm trying to summarize.
For use in my example, the one table is "dbo_Activity" and the first main distinction is the field "Activity_Type" I want to look at these two types:
"Credits" and "Certificates"
Credits has four fields that I look at - MemberID, Category, Units, and Transaction_Date. I use a "Totals" query to sum the units
Certificates has four I need to look at - MemberID, Product_Code and Transaction_Date. (this is normalized, correct?)
My general question is this: I want to query people with a certain number of Units after a certain date (CREDITS) AT THE SAME TIME as having a Product_Code with a Transaction_Date (CERTIFICATES). Is it more efficient to have two separate queries and then join the results? Or would Access "work better" if I had them in the same query?
I've tried using two separate queries, but it seems to crash Access every single time. That's why I was wondering if it would make more sense if I had it in the same query.
I have the SQL ready if you think that'd help explain things.