I have a RichText field with the following data:
===============================================
*** R&Q Preliminary Sign-off: Brett Williams on 1/24/2005 2:24:34 PM ***
*** R&Q Comments 1: ***
This memo contains the first set of comments on the consultation memo prepared by the engagement team in January 2005 related to an informal consultation that was completed on 11/04/2004. These comments were in draft form and have been clarified in the final draft of the memo. See R&Q comments on final memo below.
*** Brett Williams on 1/24/2005 2:23:45 PM ***
===============================================
Here is the code that I am running:
Set PreliminaryMemo = doc.getfirstitem(“FactsDisplay”)
Set rtnav = PreliminaryMemo.CreateNavigator
If rtnav.FindFirstElement(RTELEM_TYPE_TEXTPARAGRAPH) Then
Set rtrange = PreliminaryMemo.CreateRange
count% = 0
Do
count% = count% + 1
msg$ = ""
Call rtrange.SetBegin(rtnav)
msg$ = rtrange.TextParagraph
Messagebox msg$,, "Paragraph " & count%
Loop While rtnav.FindNextElement(RTELEM_TYPE_TEXTPARAGRAPH)
Else
Messagebox "No text in Body",, "No text"
End If
ISSUE: The first paragraph that is returned is:
//*** R&Q Preliminary Sign-off: Brett Williams on 1/24/2005 2:24:34 PM ***// string.
Then it jumps to:
//*** Brett Williams on 1/24/2005 2:23:45 PM ***//
Why is the above code skipping the following text:
//*** R&Q Comments 1: ***
This memo contains the first set of comments on the consultation memo prepared by the engagement team in January 2005 related to an informal consultation that was completed on 11/04/2004. These comments were in draft form and have been clarified in the final draft of the memo. See R&Q comments on final memo below.//
I am totally baffled. Please help. Thanks!!!