Hi,
I have created a table using vba. To create the fields I used the folowing statement:
.Fields.Append .CreateField("SNAM1LC", dbText, 3)
In this case the fieldlength is maximum 3. However, I'd like to force in some way that that field can only have inputs of exactly 3 characters. So that during input no mistakes can be typed by typing for example only 2 characters.
Is there a way to integrate this into the table-definition? To "block" the length of a text field?
Thanks a lot on forehand!
Leen
I have created a table using vba. To create the fields I used the folowing statement:
.Fields.Append .CreateField("SNAM1LC", dbText, 3)
In this case the fieldlength is maximum 3. However, I'd like to force in some way that that field can only have inputs of exactly 3 characters. So that during input no mistakes can be typed by typing for example only 2 characters.
Is there a way to integrate this into the table-definition? To "block" the length of a text field?
Thanks a lot on forehand!
Leen