Uppercase

chris11590

Registered User.
Local time
Today, 18:34
Joined
Jul 29, 2008
Messages
130
I place > character in the format box ,but as i enter data it doesnt not make the data in uppercase. can anyone tell me what i m doing wrong. i need for the first letter in uppercase, not the entire word. can anyone help me
 
i get this function from the expression builder? can you tell me physically how to do this??
 
in the afterupdate event of your textbox put

Code:
Me.textboxname = strconv([FieldName], vbUpperCase)
 
i havent created the form yet, creating table right now. i dont see events in the properties.
 
I wouldn't suggest you do the formatting at table level. You should make data entry from forms so it is there where you should convert your text to Uppercase.
 
in the afterupdate event of your textbox put

Code:
Me.textboxname = strconv([FieldName], vbUpperCase)


I think he might want the vbProperCase instead of the vbUpperCase. What he said was:

i need for the first letter in uppercase, not the entire word.

vbProperCase converts the first letter to every word to uppercase. All other characters are left as lowercase. This option is similar to the InitCap function in Oracle.
 
you're right MSAccessRookie ... i read the first part of the question only :)
 
you're right MSAccessRookie ... i read the first part of the question only :)

Thanks. I knew that your advice was good, but I also thought it would give all caps. That is the only reason the I replied. Chris should try what you suggested, with the modification to vbPropercase.
 
you're welcome chrissy.

Goodluck with your form(s) creation.
 
when i enter the name , get an error message about macro not found to new etc....
 
you should be clicking those three small dots next to the after update event and choose code builder, then place the code there.
 

Users who are viewing this thread

Back
Top Bottom