Can anyone help. I have column called Title and contains titles in Uppercase eg TIT/MR, TIT/MS, TIT/PROF. i used mid('TIT/MR',5,99) to get rid of TIT/, my problem is how to convert the MR or MS to Mr or Prof, combined with the formula
Please post your software version with any post about any software product.
Try using:
Propercase({table.field})
Not sure why you'd hardode a string and then use mid against it to eliminate it, I assume that you're just too busy to use the actual field name...
I would take a different approach to that as well, and given your limited understanding of Crystal, you should not state architecture, rather post technical information and ask for assistance.
I'd use:
if instr({table.field},"/") > 0 then
mid((propercase({table.field}),instr({table.field},"/")+1)
else
(propercase({table.field})
Successful posts tend to include basic info:
Crystal version
Database/connectivity used
Example data
Expected output
Appologies for not supplying the detailed info. CR version: 8.5, DB : SQL 2000. It seems CR8.5 doesnot recognise Propercase. Is there any other way around it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.