Hi,
We are using crystal reports 7.0 and have used crosstab to print the below report:
Branch1 Branch2 Total
Qty Val Qty Val Qty Val
Product1 1 9.5 2 8.1 3 17.7
Product2 2 3.7 3 3.2 5 6.9
.
.
The no. of products and branch can increase. To print the above a view is created but the qty and value is field is taken in the same column. if it is taken separately then it will print it in two rows.
Now the problem we are facing it is, no decimals is required and value requires decimal. How will i format the same column displaying decimals for value and no decimals for qty using the same column. There is a flag "Q" for quantity and "V" for value.
We tried using a formula in that column in decimals. If it doesn not get in to the IF then else case.
Pls help.
Quisar
We are using crystal reports 7.0 and have used crosstab to print the below report:
Branch1 Branch2 Total
Qty Val Qty Val Qty Val
Product1 1 9.5 2 8.1 3 17.7
Product2 2 3.7 3 3.2 5 6.9
.
.
The no. of products and branch can increase. To print the above a view is created but the qty and value is field is taken in the same column. if it is taken separately then it will print it in two rows.
Now the problem we are facing it is, no decimals is required and value requires decimal. How will i format the same column displaying decimals for value and no decimals for qty using the same column. There is a flag "Q" for quantity and "V" for value.
We tried using a formula in that column in decimals. If it doesn not get in to the IF then else case.
Pls help.
Quisar