Re: checking for correct Chr in string
- From: "atlantis43 via AccessMonster.com" <u24690@uwe>
- Date: Sun, 03 Sep 2006 15:10:54 GMT
yup! worked perfectly! Your first msg seemed to imply that I needed it as a
separate function.
Thanks again, Richard
pietlinden@xxxxxxxxxxx wrote:
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..
--
Message posted via http://www.accessmonster.com
.
- 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
- Re: checking for correct Chr in string
- From: pietlinden
- checking for correct Chr in string
- Prev by Date: Re: checking for correct Chr in string
- Next by Date: Re: checking for correct Chr in string
- Previous by thread: Re: checking for correct Chr in string
- Next by thread: Re: checking for correct Chr in string
- Index(es):
Relevant Pages
|