Solved

Access 2003 All Capital Letters

Posted on 2007-12-06
5
6,398 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now