Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear ALL,
I need to transform an number '002' to 2
I have a field Branch code looks like '002' or '014' or '051' I need to transform it as 2,14,51
I tired num([Branch Code]) & num#([Branch Code]) it didn't work it still giving me '002' or '014' or '051'
hope that you can help with this I need to transform the above field in the script.
thank you,
May be a over-arching Num() is needed after Num#()
Num(Num#([Branch Code]))
Because Num#() only helps to interpret, but the change will need Num(), right?
Can you try this
[Branch Code] * 1 as [Branch Code]
num# should work. Does your field have any leading or trailing spaces? Maybe:
num#(trim([Branch Code]))
May be a over-arching Num() is needed after Num#()
Num(Num#([Branch Code]))
Because Num#() only helps to interpret, but the change will need Num(), right?