Limiting The Number Of Characters In A Textbox
You can restrict the maximum number of characters that users can enter in a textbox control on a data access page or a form. A data access page is a Web page designed for viewing and working with data from the Internet or an intranet. Its data is typically stored in an Access database. As an example, the Notes control on the Employees page in the Northwind Traders sample database accepts only 500 characters. The control ignores any characters that the user enters after the maximum length is reached. If the user attempts to paste a string whose length is greater than 500 characters, the control accepts only the first 500 characters; any additional characters are ignored.