Solved

Access 2003 All Capital Letters

Posted on 2007-12-06
5
6,404 Views
Last Modified: 2010-02-02
I have an Access 2003 database and I want all text to be entered to be in capital letters. I know I can put UCase in a query but is there some way that in the tables it just automatically goes to caps ?
0
Comment
Question by:Pdeters
  • 4
5 Comments
 
LVL 75
ID: 20421597
In the format property of the field put this character:

>


mx
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 20421602
Format Property - Text and Memo Data Types
See AlsoApplies ToExampleSpecificsYou can use special symbols in the setting for the Format property to create custom formats for Text and Memo fields.

Setting
You can create custom text and memo formats by using the following symbols.

Symbol Description
@ Text character (either a character or a space) is required.
& Text character is not required.
< Force all characters to lowercase.
> Force all characters to uppercase.        **************THIS ONE ****
0
 
LVL 75
ID: 20421617
Note:  This will *display* as all UPPERCASE, not actually story the data that way.

IF ... on a form you wanted to actual *Convert* the text to upper case, then you could do this in a text box's AfterUpdate event:

Private Sub Text1_AfterUpdate()
    Me.Text1 = LCase(Me.Text)
End Sub

mx
0
 

Expert Comment

by:MeggittDASEA
ID: 20469189
Note, if you want to convert all text to upper case, you should use "UCase" and for lower case, you use "LCase".

Thus for Uppercase, for the text box AfterUpdate event, you put in the code builder.
Private Sub XXXXX_AfterUpdate()
    Me.XXXXX = UCase(Me.XXXXX)
End Sub
0
 
LVL 75
ID: 20469468
"but is there some way that in the tables it just automatically goes to caps"
Note ... keywords .. In The Tables :-)

mx
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question