Good morning all
I have an unusual problem with this code:
Where var = 4
STR(var) is returning " 4"
and bizarrely
ALLTRIM(STR(var)) is also returning " 4"
I am using this to construct a field name which subsequently crashes during EVALUATE because of the embedded spaces.
It only happens within the program, not in fox command. Is there an option setting that affects ALLTRIM??
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Thanks
I have an unusual problem with this code:
Where var = 4
STR(var) is returning " 4"
and bizarrely
ALLTRIM(STR(var)) is also returning " 4"
I am using this to construct a field name which subsequently crashes during EVALUATE because of the embedded spaces.
It only happens within the program, not in fox command. Is there an option setting that affects ALLTRIM??
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Thanks