Chris,
Maybe I'm missing something, but why not put it into your subclassed textbox, using the 'controlsource' value. You'd probably need to do it in the INIT of the control so it would pick up the correct value for each field on the form.
Barbara
>I would like to put in an expression such as:
>
>"!" + REPLICATE("X", LENC( FieldName ) - 1)
>
>So that the first letter is always capitalized and the width of txtMyObject.Value matches the width of the field.
>
>I would like to store this in the database and use oMeta.oSDTMgr.DBCGetProp() in the init of my text box class. Is there a way to store an expression in the Input Mask property?