>>>>I have something weird. In my txtField class, I have K for the Format and empty for the InputMask. When doing the data entry, I found that that particular field was forced to have the first letter uppercase. I adjusted it to have empty in the Format. I still have the first letter uppercase. Where is that coming from?
>>>
>>>Do you field validation code in the table structure? [e.g., modify structure of the table and check for validation code] Any code anywhere in the parent classes?
>>
>>Both fields in the structure doesn't contain anything.
>>
>>txtField is abound on the VFP baseclass.
>
>Sounds like you have a rogue PROPER() function getting called somewhere.
Ok, I have found it.
There is a condition in the txtField class Init():
IF TYPE(This.ControlSource)='C'
This.InputMask='!'+REPLICATE('X',LEN(EVALUATE(This.ControlSource))-1)
ENDIF
What would be the best approach to update this condition to take care of not executing this code if I have overwrited the value of the InputMask?