Hi,
I'm facing the issue when i upgrade my source code from vs2005 to vs2008.
Originally, my crystal report is working fine in the vs2005, but the functions is not working in the vs2008.
in the report, go to format object > Number > Customize> Number decimal and rounding.
IF CDbl({@iDecimal}) = 6 THEN
6
ELSE IF CDbl({@iDecimal}) = 5 THEN
5
ELSE IF CDbl({@iDecimal}) = 4 THEN
4
ELSE IF CDbl({@iDecimal}) = 3 THEN
3
ELSE IF CDbl({@iDecimal}) = 2 THEN
2
ELSE IF CDbl({@iDecimal}) = 1 THEN
1
ELSE
0
I have add in the code above for both the decimal and rounding to let user set the rounding and decimal for unit price in the report.
the default rounding and decimal is 2.
Is working fine before i upgrade the source code, but after that the things is not working.
Only the decimal part is function according to the setting, but the rounding is fix to the default and not follow with the user setting figure.
WHY ?
is this a BUGS?