>>Gino,
>>
>>Really unclear of what you're trying to do, but Barbara's suggestion sounds like what you're trying to do.
>
>It's quite simple, actually.. I want the string ' min.' to follow the number of minutes in a field when it is being displayed. I could put in the DBC an InputMask of "99 min.". So for example, a value of 25 would be displayed in a BROWSE or a TextBox as "25 min."... my problem was it was showing up as "25 miN.".. I ended up scratching the idea and putting the "min" part in a label next to my textbox (less robust, but it works.)
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
Edward Pikman
Independent Consultant