473,387 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to convert lowercase to uppercase in Access table

How do I convert existing lowercase data to uppercase in Access 2000? I used the following which did not work?

UPDATE HousingTowns
SET tMunis=UPPER(tMunis);

"HousingTowns" is the table name.
"tMunis" is the field name in which the lowercase text is stored in 154 000 rows.

I get the error message "Undefined function 'UPPER' in expression".
Jul 21 '06 #1
6 47216
comteck
179 100+
You use the function UCase.

Example:

Dim LowerCaseText, UpperCaseText as String
LowerCaseText = "Hello World 1234" ' String to convert.
UpperCaseText = UCase(LowerCaseText) ' Returns "HELLO WORLD 1234".

comteck
Jul 21 '06 #2
Many thanks, I will try this. bds
Jul 21 '06 #3
Bass
1
How do I convert existing lowercase data to uppercase in Access 2000? I used the following which did not work?

UPDATE HousingTowns
SET tMunis=UPPER(tMunis);

"HousingTowns" is the table name.
"tMunis" is the field name in which the lowercase text is stored in 154 000 rows.

I get the error message "Undefined function 'UPPER' in expression".
.................................................. ................

you'll do the statement
Ucase(fieldname)
ok...
Email address removed per site rules!
Nov 1 '07 #4
missinglinq
3,532 Expert 2GB
Welcome to TheScripts!

Please note that the posting of email addresses is prohibited on TSDN and if posted will be deleted!

Linq ;0)>
Nov 1 '07 #5
.................................................. ................

you'll do the statement
Ucase(fieldname)
ok...
Email address removed per site rules!
excuse me sir.where to put this code Ucase(fieldname) in access to convert to upercase
Oct 28 '08 #6
missinglinq
3,532 Expert 2GB
It's usually placed in the AfterUpdate event of the textbox in question:

Expand|Select|Wrap|Line Numbers
  1. Private Sub YourTextboxName_AfterUpdate()
  2.    Me.YourTextboxName = UCase(Me.YourTextboxName)
  3. End Sub
  4.  
Welcome to Bytes!

Linq ;0)>
Oct 29 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

23
by: Hallvard B Furuseth | last post by:
Has someone got a Python routine or module which converts Unicode strings to lowercase (or uppercase)? What I actually need to do is to compare a number of strings in a case-insensitive manner,...
5
by: Todd Snyder | last post by:
I need to make a field put uppercase letters in it when a lowercase letter is entered into that field. Is there an expression to use or does it have to be written in code? *** Sent via...
22
by: federico_bertola | last post by:
Hi everybody, I have an array of chars that I want to make all lower int Scan(char Search) { char *cPtr; cPtr = strtok (Search," -,."); while (cPtr != NULL) {
2
by: t8ntboy | last post by:
I have a table the contains field called PersonID. Each record in the personID field begins with the letter "p" in uppercase or lowercase. I want to run a query that finds all of the lowercase...
14
by: fniles | last post by:
In VB.NET 2005 can I check if a letter in a string is upper case or lower case ? For example: I have the following 2 lines: NQ,Z2003,11/11/2003,1416.5,1420,1402,1411.5...
9
by: humaid | last post by:
hi guys,i have this problem.first let me show you the so far code #!/user/bin/perl while ($a = <STDIN>) { if ($a =~ tr/A-Z/a-z/) { print "$a\n"; }
1
by: gsreenathreddy | last post by:
Hi! <html> <head> <script type="text/javascript"> function upperCase() { var x=document.getElementById("fname").value; document.getElementById("fname").value=x.toUpperCase(); }
2
by: Bob Nelson | last post by:
Concerning program startup in a hosted environment, both C90 and C99 require that the implementation provide main's ``argv'' strings in lowercase if the host environment is not capable of supply...
1
by: peacock97 | last post by:
I have an access mailing list. I received it in UPPERCASE and have been able to change the 1st letter to UPPERCASE and the rest to lowercase except that in Proper Names like McDonald, McInnis, they...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.