Tegron,
>Is there a way to get the database field size from an entity object?
>
>I want to store this value into the maxlength property of a text control in order to create a business rule to ensure that they don't type beyond this limit.
We don't currently store this information in the entity object, but the MaxLength property is already set for you behind the scenes by MM .NET when you data bind.
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