Good Day,
I have a database that has a series of queries that group information from the table based on a specific ID and then Sum the cost field. Three queries all the same.
Example:
ID Cost
Group Sum
What I am trying to do is create a query that Sums up the Cost field for all three sperate queries based on a specific ID. Would be simple, however, sometimes a table may not have that ID to reference, so it returns a blank query for that table, which effects the other two queries that do have information by not showing them at all. How do I get the query to put a 0 in the field that there may not be records for so that I can get a total cost? Thanks in advance!
I have a database that has a series of queries that group information from the table based on a specific ID and then Sum the cost field. Three queries all the same.
Example:
ID Cost
Group Sum
What I am trying to do is create a query that Sums up the Cost field for all three sperate queries based on a specific ID. Would be simple, however, sometimes a table may not have that ID to reference, so it returns a blank query for that table, which effects the other two queries that do have information by not showing them at all. How do I get the query to put a 0 in the field that there may not be records for so that I can get a total cost? Thanks in advance!