Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restricting Input Using ASC

Status
Not open for further replies.

Eytch

Programmer
Jan 29, 2003
60
0
0
US
I want to restrict input to an input box to the numbers 0 through 49. Any suggestions how I would attempt this. If an unacceptable entry is made I would like the box cleared and a message box to reveal acceptable entries (0 - 49) before another attempt is made. Is using ASC the best way to attempt this? Any suggestions?

Thanks,
Tripoli
 
Which control are u using ??
U can check in the keypress event if u are using a Text Box.


Good look
Vikram
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top