Merged data not visible to other RTF readers.

  • I am using WPTools 4.22a. I have a document with several edit fields showing in DBWPRichText1. I want to save it to disk and open it in another program (e.g. Word, WordPerfect). So I tried the following:

    Code
    FileName := 'Template Test.rtf';
    
    
      DBWPRichText1.SaveToFile(FileName);
    
    
      // open the selected file using the shell
      ShellExecute(Self.Handle, 'open', PChar(FileName), nil,
            PChar(ExtractFileDir(FileName)), SW_SHOWNORMAL);

    I cannot see the merged data in Word. Is there an attribute I can set to make the merged data show up?

    TIA.