Re: How can I require all-caps in a form field?
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 22:30:09 +0800
Bruce, I wonder if you realize that doesn't actually change the case?
It only affects the way Access displays it. Do a merge to Word (for example), and you see the uncased data.
There are a couple of other side effects to doing this also:
- It truncates the display of memo fields.
- There were bugs in A2003 SP3 where you got nothing displayed in a combo if the field had this format.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"BruceM" <bamoob@xxxxxxxxxxxxxxxx> wrote in message
news:uOCF6JzkIHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
You could just set the format of the text box to >. That is, enter a Greater Than sign in the text box Format property. Let the users type using whatever format they choose; it will display as all caps.
You would have to apply the same format whenever you want the data displayed.
You could also convert the text using the UCase function. In the text box After Update event:
Me.YourField = UCase(Me.YourField)
"Theber" <Theber@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D78487A9-F05B-401B-904C-BA40AA1A91DE@xxxxxxxxxxxxxxxxI want users to enter the data in one field of my form in all caps. I can't
use a drop-down list, and don't think I can use an input mask as I don't know
anything about what the data will look like (how many characters, words,
punctuation, etc). I didn't see a relevant option on the properties for the
text box. Do I have to control it from the underlying table?
Basically, I'd like it to default to caps so that the user doesn't have to
think about it. Is this possible?
Thanks!
.
- Follow-Ups:
- Re: How can I require all-caps in a form field?
- From: BruceM
- Re: How can I require all-caps in a form field?
- From: Stockwell43
- Re: How can I require all-caps in a form field?
- References:
- How can I require all-caps in a form field?
- From: Theber
- Re: How can I require all-caps in a form field?
- From: BruceM
- How can I require all-caps in a form field?
- Prev by Date: Re: dynamically change hyperlink address on form
- Next by Date: Pivot table headers
- Previous by thread: Re: How can I require all-caps in a form field?
- Next by thread: Re: How can I require all-caps in a form field?
- Index(es):
Relevant Pages
|