Re: checking for correct Chr in string
- From: pietlinden@xxxxxxxxxxx
- Date: 2 Sep 2006 23:20:52 -0700
Probably the most foolproof way of doing it is to copy this part into
the KeyPress event of your control (the textbox).
Select Case KeyAscii
Case 58, 46, 59 '---list of the asc(":") values that you want to
reject
KeyAscii = 0
Case Else 'do nothing
End Select
to get the KeyPress event of your control... right-click on the control
in design view, select the KeyPress event, and then when you get the
code window, paste in the above code..
.
- Follow-Ups:
- Re: checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- Re: checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- Re: checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- Re: checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- Re: checking for correct Chr in string
- References:
- checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- Re: checking for correct Chr in string
- From: pietlinden
- Re: checking for correct Chr in string
- From: atlantis43 via AccessMonster.com
- checking for correct Chr in string
- Prev by Date: Re: Emailing report data
- Next by Date: Re: Emailing report data
- Previous by thread: Re: checking for correct Chr in string
- Next by thread: Re: checking for correct Chr in string
- Index(es):
Relevant Pages
|