Hi,
I have a question about a combo box issue:
Situation:
I have a combo box (Size). You can choose 'Small', 'Medium' or 'Large'. But you are also able to enter a size in numbers.
The datatype of the combo box is text.
Problem:
When I am entering 'aaa' in the combo box, it will be saved.
Question:
How to prevent entering letters and accepting only numbers or the 3 size options?
Own solution until so far:
I need to put code behind the event BeforeUpdate. The code will check if the input is numerical or the 3 size options. I don't know what kind of code I have to write.
Does somebody knows the code for this problem?
I have a question about a combo box issue:
Situation:
I have a combo box (Size). You can choose 'Small', 'Medium' or 'Large'. But you are also able to enter a size in numbers.
The datatype of the combo box is text.
Problem:
When I am entering 'aaa' in the combo box, it will be saved.
Question:
How to prevent entering letters and accepting only numbers or the 3 size options?
Own solution until so far:
I need to put code behind the event BeforeUpdate. The code will check if the input is numerical or the 3 size options. I don't know what kind of code I have to write.
Does somebody knows the code for this problem?