I have the following fields which I have converted to give me the month and the year.
formula= Year({SOP_Order_Line.Date_Required})
dim a as number, b as string
If isdate(toText({SOP_Order_Line.Date_Required})) then
a = datepart("m",{SOP_Order_Line.Date_Required})
If a > 0 and a < 13 then
formula = MonthName (a,true)
else
formula = "Unknown"
end if
else
formula = "Unknown"
end if
I want to be able to concatenate them together so that I get Jan 2003 / Apr 2003 etc. I have used the following formula to do this but keep getting Jan 2,003.00 / Apr 2,003.00. How do I get Jan 2003 etc please?
{@Month} & " " & {@Year}
formula= Year({SOP_Order_Line.Date_Required})
dim a as number, b as string
If isdate(toText({SOP_Order_Line.Date_Required})) then
a = datepart("m",{SOP_Order_Line.Date_Required})
If a > 0 and a < 13 then
formula = MonthName (a,true)
else
formula = "Unknown"
end if
else
formula = "Unknown"
end if
I want to be able to concatenate them together so that I get Jan 2003 / Apr 2003 etc. I have used the following formula to do this but keep getting Jan 2,003.00 / Apr 2,003.00. How do I get Jan 2003 etc please?
{@Month} & " " & {@Year}