The code you've pasted above works for me. Maybe there's also a space?
Try this:
if Right(Trim({@AXIS1DIAG1}),1) = "." then
Left(Trim({@AXIS1DIAG1}),5)
else
Left(Trim({@AXIS1DIAG1}),6)
-Abhilash
The code you've pasted above works for me. Maybe there's also a space?
Try this:
if Right(Trim({@AXIS1DIAG1}),1) = "." then
Left(Trim({@AXIS1DIAG1}),5)
else
Left(Trim({@AXIS1DIAG1}),6)
-Abhilash