upper case

  • Thread starter Thread starter Jean-Paul De Winter
  • Start date Start date
J

Jean-Paul De Winter

Hi,
I have an entryfield... when I enter a value (letter-characters) I would
like to see everything in uppercase, so no lower case allowed.
How can I do this?
Thanks
JP
 
Hi,
I have an entryfield... when I enter a value (letter-characters) I would
like to see everything in uppercase, so no lower case allowed.
How can I do this?
Thanks
JP


Code the control's AfterUpdate event:
[ControlName] = UCase([ControlName])

Enter the data normally. When you exit the control it will change to
Upper Case.
 
I would like to get the characters in upper case while I type them... is
that possible?
Thansk
JP
fredg said:
Hi,
I have an entryfield... when I enter a value (letter-characters) I would
like to see everything in uppercase, so no lower case allowed.
How can I do this?
Thanks
JP


Code the control's AfterUpdate event:
[ControlName] = UCase([ControlName])

Enter the data normally. When you exit the control it will change to
Upper Case.
 
Using Fred's code will ensure the data is stored in uppercase.

To show Uppercase when entering data set the FORMAT property of your
entryfield to >
is the less than symbol and is used to display the input in uppercase
after a lowercase letter is entered.

--
Allan Murphy
Email: (e-mail address removed)

Jean-Paul De WInter said:
I would like to get the characters in upper case while I type them... is
that possible?
Thansk
JP
fredg said:
Hi,
I have an entryfield... when I enter a value (letter-characters) I would
like to see everything in uppercase, so no lower case allowed.
How can I do this?
Thanks
JP


Code the control's AfterUpdate event:
[ControlName] = UCase([ControlName])

Enter the data normally. When you exit the control it will change to
Upper Case.
 
Jean-Paul De WInter said:
I would like to get the characters in upper case while I type them...
is that possible?

In the KeyPress event...

KeyAscii = Asc(UCase(Char(KeyAscii)))
 
Hi, thanks for the reply
Whe I try to use you code I get an errormessage saying:

compiling error
sub or function not defined

in the code
KeyAscii = Asc(UCase(Char(KeyAscii)))

Char is highlighted in blue

What to do?
Thanks
JP, Belgium
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

entryfields 4
#name? 1
value entryfield changes 1
entryfield changes when clicking 8
COMBO BOX vs Uppercase 6
Combo Box case sensitivity 0
upper case lower case 0
upper case 2

Back
Top