Connecting Tech Pros Worldwide Help | Site Map

How to have capital characters not changed into lower case?

AA Arens
Guest
 
Posts: n/a
#1: Nov 13 '05
When I fill in the data in a field, capital characters are changed in
lower case. How to solve it?

Like:

Company name: SONY

becomes after Enter or Tab:

Company name: Sony


Bart

Rich Wills via AccessMonster.com
Guest
 
Posts: n/a
#2: Nov 13 '05

re: How to have capital characters not changed into lower case?


In the design menu right click on the field and click on properties change
the setting of "ALLOW AUTO CORRECT" to "NO" this will stop it!

Also if you want to make all the characters lowercase regardless of what the
user inputs put "<" in the "Format" setting and simila for making all
uppercase put ">" in "Format" setting.

Hope this is all you need

Let me know

Rich :)

AA Arens wrote:[color=blue]
>When I fill in the data in a field, capital characters are changed in
>lower case. How to solve it?
>
>Like:
>
>Company name: SONY
>
>becomes after Enter or Tab:
>
>Company name: Sony
>
>Bart[/color]


--
Message posted via http://www.accessmonster.com
AA Arens
Guest
 
Posts: n/a
#3: Nov 13 '05

re: How to have capital characters not changed into lower case?


Thanks, Rich, but when I changed it into "No" there is no change in
result.
Could it be that there is a lock somewhere?
Could you otherwise give me the Event Procedure?
I want to keep my present setting that, when I use lowercase only, the
fist character always changed in to capital.

Bart

Trevor Best
Guest
 
Posts: n/a
#4: Nov 13 '05

re: How to have capital characters not changed into lower case?


AA Arens wrote:[color=blue]
> Thanks, Rich, but when I changed it into "No" there is no change in
> result.
> Could it be that there is a lock somewhere?
> Could you otherwise give me the Event Procedure?
> I want to keep my present setting that, when I use lowercase only, the
> fist character always changed in to capital.[/color]

fist character? dem's fightin' words, put up yer dukes :-)

Ctrl+Z undoes autocorrecting.
Rich via AccessMonster.com
Guest
 
Posts: n/a
#5: Nov 13 '05

re: How to have capital characters not changed into lower case?


Hey Bart

The first question is have you got anything in the Format property of the
text box or in the Format Property of the field that the text box is refering
to in your table / query?

If all formats have nothing in them then I will have a look at some code for
you. But I really think there must be something that is making it change.
Check the field properties in the table design also.

Let me know what you can will get beck to you with some other tries.

:)

Rich

AA Arens wrote:[color=blue]
>Thanks, Rich, but when I changed it into "No" there is no change in
>result.
>Could it be that there is a lock somewhere?
>Could you otherwise give me the Event Procedure?
>I want to keep my present setting that, when I use lowercase only, the
>fist character always changed in to capital.
>
>Bart[/color]


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200510/1
AA Arens
Guest
 
Posts: n/a
#6: Nov 13 '05

re: How to have capital characters not changed into lower case?


Hi Rich,

No there is no format when:

I click in the field Company Name of the form > right click >
properties > Format > Format.

Go to Tables > Open the table name > Design View > The data type of the
field Company Name is "Text", Format = empty.

Bart

NoodNutt
Guest
 
Posts: n/a
#7: Dec 10 '05

re: How to have capital characters not changed into lower case?


Thats not quite correct, you can AutoCap the first letter of every word in a
control.

Try this: Open a new module and type this in:

Function AutoCap(sInput As String) As String

Dim X As Integer
Dim sWork As String

sWork = Trim(sInput)
Mid(sWork, 1, 1) = UCase(Left(sWork, 1))

For X = 1 To Len(sWork) - 1
If Mid(sWork, X, 1) = " " Then Mid(sWork, X + 1, 1) = UCase(Mid(sWork, X
+ 1, 1))
Next X

AutoCap = sWork

End Function

In the AfterUpdate of your control put this

Me."YourControl" = AutoCap("YourControl")

HTH

Mark.
"AA Arens" <bartvandongen@gmail.com> wrote in message
news:1130938282.081482.211700@z14g2000cwz.googlegr oups.com...[color=blue]
> Hi Rich,
>
> No there is no format when:
>
> I click in the field Company Name of the form > right click >
> properties > Format > Format.
>
> Go to Tables > Open the table name > Design View > The data type of the
> field Company Name is "Text", Format = empty.
>
> Bart
>[/color]


Closed Thread