I have a sql view that returns a number as interger. I need to convert that value to a string that has leading zeros. (Example 1 should be 001)
In Access MDB I would do something like...
Right('000' & CStr([IntField]),3)
...but Cstr is not a valid function in SQL Views.
I can take two existing text fields and combine them with a '+', but when I try to '000' + [IntField] or '000' & [IntField] the whole field is displayed as string.
Can anyone tell me what I am doing wrong or how to make this conversion.
Thanks,
sabloomer
In Access MDB I would do something like...
Right('000' & CStr([IntField]),3)
...but Cstr is not a valid function in SQL Views.
I can take two existing text fields and combine them with a '+', but when I try to '000' + [IntField] or '000' & [IntField] the whole field is displayed as string.
Can anyone tell me what I am doing wrong or how to make this conversion.
Thanks,
sabloomer