P
pape
Hello gurus/MVPs I am new to this so please bear with me.
I have a billing database with tblStaff, tblClient and tblTransactions.
I have set up a query that returns details of all billing between
certain dates (which the user selects). I have then done a cross tab
query on this to give me the monthly totals sorted by staff. I now need
to change the query so I get all clients from tblClient whether they
have been billed or not and all the bills within the specified dates. I
know I need to create an outer join somewhere but just cannot get the
desired results. I have tried creating 2 queries and using UNION but
clearly this is not the solution as I simply get all the records from
both queries.
I had seen a similar query some years ago on another group but I cannot
now find it.
Any help would be most appreciated.
Thanks.
I have a billing database with tblStaff, tblClient and tblTransactions.
I have set up a query that returns details of all billing between
certain dates (which the user selects). I have then done a cross tab
query on this to give me the monthly totals sorted by staff. I now need
to change the query so I get all clients from tblClient whether they
have been billed or not and all the bills within the specified dates. I
know I need to create an outer join somewhere but just cannot get the
desired results. I have tried creating 2 queries and using UNION but
clearly this is not the solution as I simply get all the records from
both queries.
I had seen a similar query some years ago on another group but I cannot
now find it.
Any help would be most appreciated.
Thanks.