By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,790 Members | 1,398 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,790 IT Pros & Developers. It's quick & easy.

Troubles with Validation Rules

P: n/a
I'mtrying to apply a validation rule to a form field where all
characters and numbers are allowed, along with these: . ( ) * '
-

However, despite extensive Googling and reading, I'm unable to locate
the proper syntax to allow them all and restrict anything else.
Anyone point me in the right direction?!?
Jan 11 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
da****@stride-r-web.com wrote in
news:79fc6775-d250-4e99-b829-
50**********@x69g2000hsx.googlegroups.co
m:
I'mtrying to apply a validation rule to a form field where all
characters and numbers are allowed, along with these: . ( ) * '
-

However, despite extensive Googling and reading, I'm unable to
locate the proper syntax to allow them all and restrict anything
else. Anyone point me in the right direction?!?
Easiest way to do this would be to code the OnKeyPress Event of the
control which grabs the character typed, passes that to the instr()
Function and disallows the character if the result is 0 (not in the
searched string) That searched string would contain the characters
you allow.
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Jan 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.