PB 11.5.1.4011, XP sp3
We have a rtf document ( saved from winword). InsertDocument(filename,
true) returns 1, but nothing is displayed. I tried to open this RTF with
WordPad, and Wordpad gives a message
---------------------------
Microsoft Word 97 Conversion
---------------------------
Unable to convert graphic. Continue with document conversion?
---------------------------
Yes No
---------------------------
If I click Yes, and save the rtf ( without problematic images) under
another name, PowerBuilder's InsertDocument() works.

Shouldn't the InsertDocument returns -1 when it cannot import the file ?
Is there a way to trap those kind of errors ?

Thanks
Philip