I would like to format a field to accept data entry in any case and then
convert the entry to first letter upper case and all other letters to lower
case. Can someone tell me how I can do this? Thanks!
If the date entry is a single word:
Me![ControlName] = StrConv([ControlName],3)
Note: This will not correctly capitalize names that should have more
than one capital letter, i.e. McDonald, O'Brien, nor correctly
capitalize names like van Buren, which do not have a capital first
letter.
If the entry is a sentence or phrase:
Me![ControlName] = UCase(Left([ControlName],1) &
LCase([Mid([ControlName],2)
Note: if a word within the sentence should be capitalized it will not
be, i.e. This is the city of new york.