If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > capitalize all data in a column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-04, 12:45
stuman413 stuman413 is offline
Registered User
 
Join Date: Sep 2003
Location: Richmond, CA
Posts: 11
Wink capitalize all data in a column

is there an sql statement in paradox that will capitalize all the data in a column...say for instance i have last names for all the employees and i want them all caps.
Reply With Quote
  #2 (permalink)  
Old 03-03-04, 15:34
lmckelvy lmckelvy is offline
Registered User
 
Join Date: Oct 2003
Posts: 107
Not that I know of, but a simple script could do it in ObjectPAL. For example:


Code:
var
   tc       tCursor
endvar

tc.open(":work:myTable.db")
tc.edit()

scan tc:

   tc."EmpLname" = tc."EmpLname".upper()

endScan

tc.endEdit()
tc.close()
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On