Hi Mike,
>Hi
>
>>i get error message syntax error at
>> m.lcMonth=TRANSFORM(MONTH(thisform.text2.Value))
>
>Why? There is nothing wrong with that line.
Because he use VFP5 and in this version, the second parameter in Transform is obligatory and not optional like VFP8. So, the line will be:
m.lcMonth = TRANSFORM(MONTH(thisform.text2.Value), "99")
Bye!
Erick
Força Sempre!
Strength Always!