In the 7.50 SDK is a document with a large number of Report Writer Functions that I got added into 7.00. It is not in the 7.00 SDK on the CD but can be downloaded from the web.
Included specific functions for handling Comments from SOP and POP and Note fields in general. For example
RW_SOPHDRCommentText(IN_Type, IN_Number, IN_characters, IN_line)
RW_SOPLINECommentText(IN_Type, IN_Number, IN_LineItem, IN_Component, IN_characters, IN_line)
RW_GetNoteText(IN_Index, IN_characters, IN_line)
Let me know if you want the document.
David Musgrave
Senior Development Consultant
Asia Pacific Professional Services
Microsoft Business Solutions
mailto:dmusgrav@microsoft.com
Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.