Dave,
>In a form created using the instructions in the Quick Start, the first control in the Properties tab is an instance of the cTextBoxl class. The recordsource of the textbox is a field that contains entries padded on the left with spaces. Example: ' 927649823'
>
>When changes are saved the left spaces are always trimmed. I put the spaces back in the PreSaveHook.
Garrett is right...CTextBoxl.TextBox has a "T" in its Format property.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com