Voltron
Defender of the universe
- Local time
- Today, 05:13
- Joined
- Jul 9, 2009
- Messages
- 77
If/When (most likely when) this becomes way to complicated to understand please feel free to ask for clarification. I am unable to put any code or databases on here as of yet due to permission issues at my place of business.
Here's the deal...I'm creating a database for my company. The database will keep track of our clients and the different fee they pay and assets they have along with the usual suspects (address, phone number, etc.) Essentially it is going to have queries that bring in data from 5 tables, but will also have to be based off of other queries. The reason for this is because many of the necessary fields are calculated fields, due in large part to the complicated fees structure and multiple exceptions to payment rules that our clients have.
I have a query called Summary Query with the following fields (abbreviated for privacy reasons):
Client_ID (PK in its table)
Recordkeeper_ID (PK in its table) [this is just an add on that needs to be there for the output, but is not causing any problems]
Participants (a whole number)
Fees
Fees consists of 4 calculated fields that are stored in 4 separate queries. 3 of these queries have criteria that limit the output for their specific query, such as Like "*Loans".
The problem is this...I need to get all of the clients to show up when I put the calculated field together. What is currently happening is that only 1 of the 4 test clients that are loaded into the database right now is showing up. What is showing up is correct (indicating that the calculated field I have that is based off of the 4 other calculated fields in 4 separate queries is correct). This is happening because this is the only client which meets all 3 criterion (1 in 3 of the 4 queries that the Summary Query is based off of.
Is there anyway to get all of the clients to show up in the Summary Query while still using the same 4 queries with calculated fields to create the Fees column in the Summary Query?
I am unable to take off the criteria on the other queries as it would mess with the overall numbers.
I realize that I can do this by having about 5 separate "Summary" queries and compiling them into Excel (which is where the information will eventually end up) and running a VLOOKUP's and Sum formulas to get the finished product (which I know how to automate). However, management really wants it in 1 query so I am trying to exhaust every possible option.
Thank you in advance for any help you give.
Once again please feel free to ask for clarification. I am trying to get management to let me rework all of the names and info in the database so that it is completely fake information, but as of right now I cannot get anything on here.
Here's the deal...I'm creating a database for my company. The database will keep track of our clients and the different fee they pay and assets they have along with the usual suspects (address, phone number, etc.) Essentially it is going to have queries that bring in data from 5 tables, but will also have to be based off of other queries. The reason for this is because many of the necessary fields are calculated fields, due in large part to the complicated fees structure and multiple exceptions to payment rules that our clients have.
I have a query called Summary Query with the following fields (abbreviated for privacy reasons):
Client_ID (PK in its table)
Recordkeeper_ID (PK in its table) [this is just an add on that needs to be there for the output, but is not causing any problems]
Participants (a whole number)
Fees
Fees consists of 4 calculated fields that are stored in 4 separate queries. 3 of these queries have criteria that limit the output for their specific query, such as Like "*Loans".
The problem is this...I need to get all of the clients to show up when I put the calculated field together. What is currently happening is that only 1 of the 4 test clients that are loaded into the database right now is showing up. What is showing up is correct (indicating that the calculated field I have that is based off of the 4 other calculated fields in 4 separate queries is correct). This is happening because this is the only client which meets all 3 criterion (1 in 3 of the 4 queries that the Summary Query is based off of.
Is there anyway to get all of the clients to show up in the Summary Query while still using the same 4 queries with calculated fields to create the Fees column in the Summary Query?
I am unable to take off the criteria on the other queries as it would mess with the overall numbers.
I realize that I can do this by having about 5 separate "Summary" queries and compiling them into Excel (which is where the information will eventually end up) and running a VLOOKUP's and Sum formulas to get the finished product (which I know how to automate). However, management really wants it in 1 query so I am trying to exhaust every possible option.
Thank you in advance for any help you give.
Once again please feel free to ask for clarification. I am trying to get management to let me rework all of the names and info in the database so that it is completely fake information, but as of right now I cannot get anything on here.