Input Mask in Access

  • Thread starter diko via AccessMonster.com
  • Start date
D

diko via AccessMonster.com

I would like to help to the following problem:

HOW CAN I CREATE AN INPUT MASK IN A FIELD OF AN ACCESS TABLE, IN ORDER TO
HAVE ONLY THE FIRST LETTER CAPITAL AND THE OTHER CHARACTES LOWER?
 
T

Tim Ferguson

diko via AccessMonster.com said:
How can i create an input mask in a field of an access table, in
order to have only the first letter capital and the other charactes
lower?


Input masks are really nasty things to impose on your users. Better by far
to use the LostFocus event to change the case.

Look up help on StrConv() function.

Bear in mind that if this is for names, then you are going to get badly
stuck with people called O'Shaunessy, Van Druid, te Water Naude, etc. You
may be better of with better trained users.

Hope that helps


Tim F
 
T

Title case input mask

You can use the following input mask to do this...BUT I haven't been able to
figure out how to Title Case double word entries such as New York. With this
input mask, it turns out as New york.
 
R

Rick Brandt

Title said:
You can use the following input mask to do this...BUT I haven't been
able to figure out how to Title Case double word entries such as New
York. With this input mask, it turns out as New york.

This cannot be accomplished with an InputMask. Use code in the AfterUpdate
event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top