G
Guest
I have a generic pop up bulk data entry form. Basically, where there is a
field on a form that potentially will have several lines of text, you right
click and up pops a bigger window to enter text - sort of like F2 in design
view. While most of the fields are memo data types, some are text. When
entering data into the bulk data entry screen, users sometimes enter too much
text to store in a 255 character text field. When they save and close the
bulk entry screen, and the program copies the text into the underlying form,
they get an error message that the pasted information is too big.
What I would like to do is to identify the length of the Control Source for
a particular form control. I already know the control name which is stored
when the form is open. If I know the size, I can work out a way check the
number of characters being entered and provide a warning if the text is too
long. At a minimum, I can display the limit on the number of characters.
field on a form that potentially will have several lines of text, you right
click and up pops a bigger window to enter text - sort of like F2 in design
view. While most of the fields are memo data types, some are text. When
entering data into the bulk data entry screen, users sometimes enter too much
text to store in a 255 character text field. When they save and close the
bulk entry screen, and the program copies the text into the underlying form,
they get an error message that the pasted information is too big.
What I would like to do is to identify the length of the Control Source for
a particular form control. I already know the control name which is stored
when the form is open. If I know the size, I can work out a way check the
number of characters being entered and provide a warning if the text is too
long. At a minimum, I can display the limit on the number of characters.