Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proper case in a field 1

Status
Not open for further replies.

sansangtracao

Technical User
Oct 7, 2005
19
VN
Please tell me what code to be put on a field that on exit every thing will be in capital case? Thanks very much!
 
every thing will be in capital case
Have a look at the UCase function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Hi, I'm kinda dumb in the MS Access and trying to put things together. Can you tell me m?e about this?????
 
How are ya sansangtracao . . .

You can also try the [blue]StrConv[/blue] function:
Code:
[blue]   Me!TextboxName = StrConv(Me!TextboxName, vbUpperCase)[/blue]
and PHV's suggestion:
Code:
[blue]   Me!TextboxName = UCase(Me!TextboxName)[/blue]
In any module, type [blue]UCase[/blue] or [blue]StrConv[/blue]. Put the cursor within the word and hit [blue]F1[/blue] to read about it. To get the info on an event, put the cursor on the event line and hit [blue]F1[/blue]. [purple]Its called context sensitive help.[/purple]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top