Anyone
Crystal Reports, VB.net version 9
dim NewMonth as number
dim newyear as number
let newyear = {@YearSelNum}
let Newmonth = {@MonthNum} + 1
if newmonth > 12 then
newmonth = 1
newyear = {@YearSelNum} + 1
end if
formula = cstr(newyear)+ "/" + cstr(newmonth)
It returns
2003.00/2.00
These are numbers not currency? What am I doing wrong?
Kent Wallace
Boise, ID
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *