I would like to display the number of characters typed so far and the max number of chars allowed in a text field. I created a function to accomplish this and I can use this function for any text field. The logic is working well, but the max number of characters is set by a simple VBA assignment before calling the function (("intMaxChars = 30".) I prefer to retrieve this number from the field's definition in the database. How can I accomplish this?