Difference between revisions of "Capitalising report generator output"

From Catalyst
Jump to: navigation, search
(Bulk update)
(Bulk update)
Line 10: Line 10:
  
 
== See also ==
 
== See also ==
*[[REF:rprgflostr|$LOSTR - Convert a string to lower case]]
+
* [[REF:rprgflostr|$LOSTR - Convert a string to lower case]]
*[[REF:rprgfupstr|$UPSTR - Convert a string to upper case]]
+
* [[REF:rprgfupstr|$UPSTR - Convert a string to upper case]]
*[[REF:rprgfcapstr|$CAPSTR - Convert a string to capital (Upper and lower case combination.]]
+
* [[REF:rprgfcapstr|$CAPSTR - Convert a string to capital (Upper and lower case combination.]]
  
 
{{KB_Tags|capitalise, upper case, $upstr, $lostr, $capstr}}
 
{{KB_Tags|capitalise, upper case, $upstr, $lostr, $capstr}}
 
{{MClass}}{{KB_RGen}}
 
{{MClass}}{{KB_RGen}}

Revision as of 06:28, 10 January 2019

Summary

Sometimes it is useful to have the output of the Report Generator to be in a certain case ('UPPER' or 'lower' case). For example Royal Mail suggest it is good practice for computer printed addresses to be in capitals to help the sorting machines.

Method

$UPSTR{A03} would output the Account Name (A03) in upper case. Catalyst Computer Systems would become CATALYST COMPUTER SYSTEMS.

Just substitute 'A03' for any Report Generator text variable.

$LOSTR{} will do the same in the other direction, forcing lower case.

See also


Feedback
Thank you for using our Knowledge Base, we value your feedback. Did you find this article useful? 'Yes' or 'No'
Keywords AND Misspellings
capitalise, upper case, $upstr, $lostr, $capstr