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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When to apply patches/product update files? 1

Status
Not open for further replies.

carynbo

MIS
Feb 11, 2003
57
US
Hi,

I believe there is a bug in the ProperCase function in that it works up until finding an apostrophe in a string. For instance where XVar contains the string "YEAR'S":

ProperCase ({XVar})

returns "Year'S"

So I went to Crystal Care Technical Support for fix files and downloads. How does one know if a file should be downloaded? Do people generally update their application with new 'fix files' that appear?

Thanks, Caryn
 
Crystal recommends that you only apply patches if you have a problem that is fixed by the patch. Most of the patcheds come with a list of the issues they resolve.

I would be surprised if this is fixed in a patch, but you can check. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
The patches include pdf files that describe what they fix.

To deal with your specific issue, try something like:
-----------------------------------------------
StringVar ls_temp := {XVar};
ls_temp := Replace(ls_temp, "'", "zzz");
ls_temp := ProperCase (ls_temp);
ls_temp := Replace(ls_temp, "zzz", "'");
-----------------------------------------------

Cheers,
- Ido




CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top