Article ID: 264610 - View products that this article applies to.
This article was previously published under Q264610
This article has been archived. It is offered "as is" and will no longer be updated.
When you append a new line of text to an item's Text property and use a carriage return (CR) and/or line feed (LF) to force them to separate lines, the Text property ignores the CR and LF.
The Exchange store's Rich Text Format (RTF) synchronization routine groups the existing and appended text in an attempt to preserve any RTF formatting of the existing text. When checking for the existing text, it ignores changes that are white space only; for example, additional line wrapping. In this case, the CR/LF pair is recognized as a part of the existing text, and only the text that follows it is considered to be appended.
The workaround is to remove the item's CdoPR_RTF_COMPRESSED property before appending to the Text property, as illustrated by the following Visual Basic code:
Steps to Reproduce Behavior
Article ID: 264610 - Last Review: February 28, 2014 - Revision: 3.2
Contact us for more help
Connect with Answer Desk for expert help.