Functions Reference

Table Of Contents
Chapter 13
|
Text formatting functions 195
TextStyleAdd
Format
TextStyleAdd(text;styles)
Parameters
text - any text expression or text field
styles - any named style listed below in Description
Data type returned
text
Description
Adds the specified styles to text in a single action. You can add multiple styles by
using the + operator between style names. Negative values are not valid. All styles will be
removed, if the only style specified is Plain. Plain is ignored if mixed with other styles.
Styles are not case-sensitive and do not contain spaces.
Text formatting options will be lost if the data type that is returned is something other than
text.
The styles that are available are:
•Plain
•Bold
•Italic
Underline
Condense
Extend
Strikethrough
SmallCaps
Superscript
Subscript
Uppercase
Lowercase
Titlecase
WordUnderline
DoubleUnderline
AllStyles (all available styles)