A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

capitalize



 
 
Thread Tools Display Modes
  #1  
Old March 8th, 2007, 07:12 PM posted to microsoft.public.access.forms
rml
external usenet poster
 
Posts: 172
Default capitalize

Yes, that is the name. Here is the full code.

Private Sub Dist_Cust_AfterUpdate()
Me!Dist_Cust = StrConv(Me!Dist_Cust, vbUpperCase)
End Sub

Thanks.

"Ofer Cohen" wrote:

Is that the name of the text box in the form?

can you post the full code from the after update event of the text box,
include the

Sub SubName()
code
End Sub

--
Good Luck
BS"D


"rml" wrote:

Me!Dist_Cust = StrConv(Me!Dist_Cust, vbUpperCase) but I'm getting an error
can' find "Dist_ Cust"

Any ideas on the error?

"Ofer Cohen" wrote:


Use the After Update event of the text field in the form to change the text
that was input by the user into upper case

Me!TextFieldName= StrConv(Me!TextFieldName, vbUpperCase)

--
Good Luck
BS"D


"rml" wrote:

How can I make an input field be all caps?

Thanks.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.