Tech Tip: How to append text to the end of a 4D Write area?
PRODUCT: 4D | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: July 13, 2001
Use the command WR Count to determine the length of the document:
$length:=WR Count(myWriteArea; wr nb characters)
Then use WR SET SELECTION to set the insertion point:
WR SET SELECTION(myWriteArea;$length;$length)
Last but not least insert your new text (append):
WR INSERT TEXT(myWriteArea; myText)