Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'99 min.' shows up as 99 miN.
Message
From
09/04/1997 12:51:14
 
 
To
09/04/1997 12:07:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00027278
Message ID:
00027620
Views:
31
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform