Joined: 27 May 2016
Location: United Kingdom
Online Status: Offline
Posts: 2
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.
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
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.
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