Hello, first post here!
I tried searching around the forum before posting this.
Basically, I got a new job and inherited a database that is all over the place. They are using Access 2003(upgrading to 2007 is coming soon).
I need a query that will combine multiple tables that have the same primary key.
Some of the tables and some fields.
Billing: jobID, Month, Hours, BillableRate (created a query to multiply these and sum per month)
Jobs:jobID, month, client,
Expenses: jobID, month, expenseAmt,
Basically I need the new query to columns with Client,JobID, Month, Bill (from the query where I multiplied BillableRate and Hours), expense, and a few others but these will do as a starting point. A lot of these tables have different dates associated with them, so I would have to return a 0 value if there is no expense associated with a jobID for the same month. So if jobID and month are the same, return a value for expense, Bill, and other things.
I tried many things, fiddling with dsum, and after many hours, come up empty. Is there something I'm doing wrong or overlooking?
Thank you in advance!