Normal Topic Need raw data in uppercase (Read 466 times)
nateboone
Junior Member
**
Offline



Posts: 54
Joined: Dec 19th, 2006
Need raw data in uppercase
May 17th, 2007 at 12:43am
Print Post Print Post  
Hey folks--

This is probably a no-brainer and I think I may have even solved it before but for the life of me can't figure it out again:

For a given field I have the text format set to uppercase, but the Table View reveals that the raw data is not always in caps (depending upon how it is entered), but I want it all caps for data export.  How do I do this?  Thanks!

--Nate
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need raw data in uppercase
Reply #1 - May 17th, 2007 at 1:02am
Print Post Print Post  
Run a Mass Update and force all the values to uppercase.

I think it's something like:

MyField = ToUpper(MyField)
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
nateboone
Junior Member
**
Offline



Posts: 54
Joined: Dec 19th, 2006
Re: Need raw data in uppercase
Reply #2 - May 18th, 2007 at 6:48pm
Print Post Print Post  
hmmmm....

FYI, I played with this as a permanent programming code and not just mass update, and this is what I discovered:

Just writing:

MyField = ToUpper(MyField)

doesn't work because the computer seems to check the upper case display that is being showed and not the raw data, so nothing changes, the raw data still may be lowercase because the display is in upper case.

You have to do this:

var MyFieldUpper as String

MyFieldUpper = MyField
MyField = ""
MyField = ToUpper(MyFieldUpper)

which stores the info, clears it, and then rewrites it, changing the raw data too.
  
Back to top
 
IP Logged