Solved

Access 2003 All Capital Letters

Posted on 2007-12-06
5
6,407 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 - Microsoft MVP, Access and Data Platform) 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

856 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