RE: Accept numeric input only in textbox

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Set the Format property of the text box to 9999 (or how many digits are
required). You can find more detailed info in VBA Help

"A.J.M. van Rijthoven" wrote:

> Is there an easy way to accept only numeric input in an unbound field.
> I want to be able to search a specific record by number. When I enter
> a letter, the query gives an inputscreen assuming that the letter is
> part of the querysearch...
> To prevent this I want to accept only numeric input in the unbound
> 'search field'. How do I do this??
>
> Thanks in advance
>
.