Hi.
I'm have a report based on numerous select queries and one crosstab query.
This report is set up as follows:
Sales Broker Comp A Comp B Comp C Comp D Total
John Chevy 150.00 100.00 250.00
Mary Dodge 80.00 50.00 130.00
Jane Ford 60.00 60.00
Fred Olds 90.00 70.00 30.00 190.00
Totals 240.00 250.00 60.00 80.00 630.00
Each sales broker in our company is listed with any sales they might've had for any of the companies we represent.
My problem is that this report prints fine when doing year-to-date (like above), but what my boss wants now is to be able to generate this report for any given month. This insn't a problem as my tables are set up so I can generate sales data for any given month, but when I generate the report (for, for example, the month of December), ONLY those sales brokers that had any sales for that month is listed. What my boss wants is to have ALL brokers listed whether they had sales for the selected month or not, BUT only print sales amounts for those that did have sales that month. All others can have zeroes placed.
Can anyone point me in the right direction?
TIA
K
I'm have a report based on numerous select queries and one crosstab query.
This report is set up as follows:
Sales Broker Comp A Comp B Comp C Comp D Total
John Chevy 150.00 100.00 250.00
Mary Dodge 80.00 50.00 130.00
Jane Ford 60.00 60.00
Fred Olds 90.00 70.00 30.00 190.00
Totals 240.00 250.00 60.00 80.00 630.00
Each sales broker in our company is listed with any sales they might've had for any of the companies we represent.
My problem is that this report prints fine when doing year-to-date (like above), but what my boss wants now is to be able to generate this report for any given month. This insn't a problem as my tables are set up so I can generate sales data for any given month, but when I generate the report (for, for example, the month of December), ONLY those sales brokers that had any sales for that month is listed. What my boss wants is to have ALL brokers listed whether they had sales for the selected month or not, BUT only print sales amounts for those that did have sales that month. All others can have zeroes placed.
Can anyone point me in the right direction?
TIA
K