CR 9 DB - SQL2K
Hi all, I need some help.
Formula @CMY1 =
val(totext(dateserial(year(DateAdd ("M",0 , CurrentDate)),
month(DateAdd ("M",0 , CurrentDate)),1),"yyyyMM"))
(the value will be incremented through separate formulas for other months).
The result of the following formula displays as 200,625.00. I need to remove the , and decimals. I can use Totext({@CMY1},0,"") to get rid of them and display 200601. But I have to truncate this value again to get it display as 2006/01. I don't want to increase the load with another set of 12 formulas to do this. Can it be done in one shot in the base formula itself?
Thanks in advance.
Hi all, I need some help.
Formula @CMY1 =
val(totext(dateserial(year(DateAdd ("M",0 , CurrentDate)),
month(DateAdd ("M",0 , CurrentDate)),1),"yyyyMM"))
(the value will be incremented through separate formulas for other months).
The result of the following formula displays as 200,625.00. I need to remove the , and decimals. I can use Totext({@CMY1},0,"") to get rid of them and display 200601. But I have to truncate this value again to get it display as 2006/01. I don't want to increase the load with another set of 12 formulas to do this. Can it be done in one shot in the base formula itself?
Thanks in advance.