Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Upper and lower case Post Reply Post New Topic
Author Message
LukeMartin
Newbie
Newbie


Joined: 27 May 2016
Location: United Kingdom
Online Status: Offline
Posts: 2
Quote LukeMartin Replybullet Topic: Upper and lower case
    Posted: 22 Aug 2016 at 10:56pm
I am new to Crystal Reports and have managed to put together my report for invoicing.
However, what I assumed would be the easy bit is proving a little annoying now. I need the data that comes out on my invoices to only have a capital letter at the start of the sentence but all I can get is all capitals or all lower case.
This is probably a very simple thing for most of the people on this forum but as I said I am new to Crystal Reports.
Many, many thanks in advance.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 23 Aug 2016 at 4:24am
For a word it is simple.  For a sentence.  It could be a lot tougher.  If it is a single sentence then UpperCase(Left({somestring}, 1))+lowercase(mid({Somestring},2)).  But this assumes there will be no proper names, the letter 'I', etc.  If you want to change a paragraph. Then you would have to parse the paragraph with a loop.
IP IP Logged
LukeMartin
Newbie
Newbie


Joined: 27 May 2016
Location: United Kingdom
Online Status: Offline
Posts: 2
Quote LukeMartin Replybullet Posted: 23 Aug 2016 at 4:48am
Many, many thanks for your help.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.