>>Gino, I got couple minutes to test your problem and what I found:
>>1. VFP really doesn't like to have 'n' within inputmask expression.
>>But
>>2. This is way to work around:
>>Text1.Init event:
>>this.format="R"
>>this.inputmask="99 min."
>>this.value=space(2)+"n"
>>
>>Text1.InteractiveChange event:
>>if substr(this.value,3,1)"n"
>> this.value=left(this.value,2)+"n"
>>endif
>
>
>Thank you very much for taking the time to look at the problem. Does this code also work if the field is Numeric? By the way, your last reply was also very helpful.
>
> Thanks
> - Gino
I see that character type is more appropriate. You always can transform it into numeric when saving the record.
Edward Pikman
Independent Consultant