Page 1
Page 1
Started By
Message
locked post

Microsoft Access 2007 question

Posted on 1/24/10 at 7:24 pm
Posted by Halpert
Member since Jun 2008
359 posts
Posted on 1/24/10 at 7:24 pm
Never really used this before, probably a stupid question, but...

How do I get it so that the database allows you to only use letters and spaces, no numbers.

Thanks for the help!

Posted by CalTiger
California
Member since Jan 2004
3997 posts
Posted on 1/24/10 at 10:08 pm to
Try to check for the ASCII value of the input keys - Use the Asc Function to check the ASCII value of the entries. Uppercase is 65 to
90, lowercase is 97 to 122, space is 20.

You can also just do an IsAlpha() for the alphabets (it would merely call the Asc function and check for 65-90 and 97-122) and check separately for the space.

I have used earlier versions of MS Access - so there might be newer and easier ways to do this now.

first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on X, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookXInstagram