crystalreport85
Programmer
In my Crystal report 8.5 I am trying to check some condition and display the result in report section.
First I want to find the total sale of each month by saleman. And in the report section
Condition 1: if the cust_type is xx then grand total that perticular record.
condition 2: if the cust_type is yy and salesman = aaa then print the grand total in the report section.
condition 3: if the cust_type is yy and salesman <> aaa then print the grand total
How to check these conditions?
I tried using whilereadingrecords(formula) in detail section to sum the sales for each month . and used whileprintingrecords in report section to print the result. My problem is using shared variable since I am using 'Whilereadingrecords'
And I getting wrong answer. first month it gives correct ans but next month it is not adding proberly
Thanks in advance
First I want to find the total sale of each month by saleman. And in the report section
Condition 1: if the cust_type is xx then grand total that perticular record.
condition 2: if the cust_type is yy and salesman = aaa then print the grand total in the report section.
condition 3: if the cust_type is yy and salesman <> aaa then print the grand total
How to check these conditions?
I tried using whilereadingrecords(formula) in detail section to sum the sales for each month . and used whileprintingrecords in report section to print the result. My problem is using shared variable since I am using 'Whilereadingrecords'
And I getting wrong answer. first month it gives correct ans but next month it is not adding proberly
Thanks in advance