Please enable JavaScript to view this site.

 

Navigation: Appendices > Messages > Run-Time Messages > Other Messages

Blank text passed to function FormatText

Scroll Prev Up Next More

This run-time message occurs if you call the FormatText macro function with an empty string '' as it sTextIn input parameter.

 

To apply paragraph or textbox formatting without adding visible text, pass the nil marker &x instead of an empty string, as shown in the example below.

sResult = FormatText('&x', sFormat, -1)

 


Topic 188270, last updated on 21-Nov-2026