Difference between revisions of "Capitalising report generator output"
m (Links to $LOSTR{} and $UPSTR{}) |
|||
Line 7: | Line 7: | ||
Just substitute {{DataValue|A03}} for any Report Generator text variable. | Just substitute {{DataValue|A03}} for any Report Generator text variable. | ||
− | {{ | + | {{Note|title=PLEASE NOTE|text= <code>$LOSTR{}</code> will do the same in the other direction, forcing lower case.}} |
== See also == | == See also == | ||
− | *[[REF:rprgflostr|$LOSTR - Convert a string to lower case]] | + | * [[:Category:Getting Started|Getting Started]] |
− | *[[REF:rprgfupstr|$UPSTR - Convert a string to upper case]] | + | * [[:Category:Report Generator|Report Generator]] |
+ | * [[:Category:Master Class|Master Class Tips]] | ||
+ | * [[REF:rprgflostr|$LOSTR - Convert a string to lower case]] | ||
+ | * [[REF:rprgfupstr|$UPSTR - Convert a string to upper case]] | ||
− | + | {{KB_Tags|capitalise, upper case, $UPSTR, $LOSTR}} | |
+ | {{MClass}}{{KB_RGen}} |
Revision as of 10:30, 19 August 2013
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.
PLEASE NOTE: $LOSTR{} will do the same in the other direction, forcing lower case. |
See also
- Getting Started
- Report Generator
- Master Class Tips
- $LOSTR - Convert a string to lower case
- $UPSTR - Convert a string to upper case