Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert JOE SMITH to Joe Smith. How to do it in CR8.5? 1

Status
Not open for further replies.

Digitalcandy

IS-IT--Management
May 15, 2003
230
US
Fairly simple question that I havn't found an answer.

Anyone?

 
I'm guessing that will work with a CR environment but we use our reports in a 3rd part software and I'm affraid it will not run in that environment.

I was hoping to use a function that's packaged with CR 8.5
 
I think you'll need to do it the slow way, converting one character at a time.

Madawc Williams
East Anglia, Great Britain
 
That function exists on the website because there is no prepackaged ProperCase function in Crystal prior to v9.

If you cannot use that, use a formula. You don't have to be as meticulous as converting one letter at a time; simply lcase the entire string and switch the first letter of each word for the ucase variant.

Read thread767-568676

Naith
 
In CR 8.5 and earlier, to format the string or text field similar to the ProperCase function, use the LeadingCaps User Function Library (UFL). The LeadingCaps UFL can be obtained by searching for the file name, Uflcaps.exe, on our support site at:


This file contains the U2lcaps.dll (for 32-bit applications) and the Uflcaps.dll (for 16-bit applications). Refer to the Readme.txt file for the correct installation of the Dynamic Link Library (DLL).

The LeadingCaps function capitalizes the first character of a string after a space, tab or hyphen.

-k
 
Thanks for the suggestions everyone.

I'll test them out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top