Me.myTextBox.MaxLength = Me.bo1.FieldLengths("FieldName")
I've got a textbox bound to a varchar(20) field. If I want the maxlength of my textbox to be 20, how do I find out what that field's size is - in code?