0

Hi

I know how to make just numeric textbox, but the problem is that
I wisch to enter in the text box wit 2 numbers and then search trough
a database to recive just zipcodes.

Lenny

3
Contributors
2
Replies
9
Views
4 Years
Discussion Span
Last Post by Jx_Man
0

Here i assume that you are familiar with database connectivity

If you wanna extract zipcodes from the database on the basis of textbox value then you must be familiar with database connectivity and for this i would highly recommend ADODB

I wisch to enter in the text box wit 2 numbers

For this set MaxLength property to the value 2

hope this helps you . . .

0

Set textbox MaxLength when form load or you can set MaxLength in textbox Properties :

Private Sub Form_Load()
Text1.MaxLength = 2
End Sub
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.