richtextdata(
DATA
)

The richtextdata( function adjusts text so that it will display properly in rich text even if it contains a < character.


Parameters

This function has one parameter:

data – the text data to be displayed.


Description

This function adjusts text so that it will display properly in rich text even if it contains a < character. To prevent this character from confusing the richtextdisplay( function, enclose the field or variable with the richtextdata( function. The formula below will work correctly even if the Address field contains a < character.

richtextdisplay("<b>"+First+" "+Last+"</b>"+cr()+
    richtextdata(Address)+cr()+City+" "+State+" <i>"+ Zip +"</i>")

In the example above, only the Address field is enclosed with the richtextdisplay( function. If you have any doubt about any field or formula used in rich text, enclose it with the richtextdisplay( function.


See Also


History

VersionStatusNotes
10.0NewNew in this version.