HardSpace – XpressDox

This function converts spaces to “hard” or non-breaking spaces. When Word performs word-wrapping at the end of a line, a non-breaking space will not appear at the end of a line but will cause the characters on either side of it to be on the same line.

«HardSpace(FormatNumber(Amount,“#,#0.00”,“ZA”))»

If the ‘Amount’ data element is 1200 for example, then the above will yield 1 200,00, where the character between the 1 and 2 digits is hard space.