Craig,
>I am not seeing the MaxLength set in the UI. All are set to the default 32767.
>
>If I set this manually everything works correctly.
The code that sets the MaxLength in a Windows Forms application is found in mmBindingStragetySimple.BindDate():
TxtControl.MaxLength = ds.Tables[tableName].Columns[fieldName].MaxLength;
I recommend setting a breakpoint in this code to see what's happening.
Best 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