Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access 2003 All Capital Letters

Posted on 2007-12-06
5
Medium Priority
?
6,423 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

730 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