>>I doesn't generate extra spaces in VFP8 for me.
>
>I have it all the time. The following, either from a datetime or date field, generates some extra spaces between the 4 digits of the date and the letter A when being printed:
>
>
>SELECT LTRIM(RTRIM(STR(YEAR(AddDate)))) AS lcChampNumero FROM News
>? lcChampNumero+'A'
>
Michel,
LTRIM(STR(YEAR(AddDate)))
works for me in VFP and SQL. You don't need rtrim().
Cetin