>Who can help me?
>I get only oct,nove... (not october,november...).
>Thank you
Perhaps this has to do with regional settings in the Control Panel? See SET SYSFORMATS.
Anyway, since the return value of cmonth() is dependent on the language of VFP, I suggest to keep away from it. Create your own function, and you have everything under your control.
FUNCTION MyCMonth(tnMonth)
if type(tnMonth) = "D"
tnMonth = month(tnMonth)
endif
do case
case tnMonth = 1
return "January"
case tnMonth = 2
return "February"
...
otherwise
return "???"
endcase
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)