Crystal XI Developer
SQL Server 2000 Enterprise Ed.
Here's my problem,
I work for a ski area and I needed to write a report that would show all customers who purchased pass insurance with their season pass. These are sold as two seperate products and customers do not need to buy pass insurance. So I needed pass type, customer name, insurance purchased and the net $ paid for the insurance.
I wrote a report that selects all sales of passes by post date (date range parameter entered by user). I put a sub report in the Grp 2 header joined on customer.number and by the date range parameter with the select criteria only selecting the item.number for our companies portion of the insurance sale. The sub report groups on customer number with Sales Before Tax and item number in the detail section. I am passing the revenue from the sub report to the main report with a shared variable. Then I grouped the report like this
GRP Hdr 1 Item.Description
Grp Hdr 2 Customer - @RevStart InsuranceSubReport
Grp Hdr 2b @RevCalc
Grp Footer 2 Displaying Customer Name and @RevTotal
The @Rev* formulas calculate the revenue from the sub report for that customer and move it into the footer of Group 2 so I can suppress the name if the revenue is $0.00. However, I can not suppress Grp Header 1 and I have made the fields in Grp Hdr 2 and 2b as small as possible and suppressed them but I end up with a lot of space between names because of those fields.
Does anyone have any ideas of how to better write this report.
SQL Server 2000 Enterprise Ed.
Here's my problem,
I work for a ski area and I needed to write a report that would show all customers who purchased pass insurance with their season pass. These are sold as two seperate products and customers do not need to buy pass insurance. So I needed pass type, customer name, insurance purchased and the net $ paid for the insurance.
I wrote a report that selects all sales of passes by post date (date range parameter entered by user). I put a sub report in the Grp 2 header joined on customer.number and by the date range parameter with the select criteria only selecting the item.number for our companies portion of the insurance sale. The sub report groups on customer number with Sales Before Tax and item number in the detail section. I am passing the revenue from the sub report to the main report with a shared variable. Then I grouped the report like this
GRP Hdr 1 Item.Description
Grp Hdr 2 Customer - @RevStart InsuranceSubReport
Grp Hdr 2b @RevCalc
Grp Footer 2 Displaying Customer Name and @RevTotal
The @Rev* formulas calculate the revenue from the sub report for that customer and move it into the footer of Group 2 so I can suppress the name if the revenue is $0.00. However, I can not suppress Grp Header 1 and I have made the fields in Grp Hdr 2 and 2b as small as possible and suppressed them but I end up with a lot of space between names because of those fields.
Does anyone have any ideas of how to better write this report.