Replacing documents

 

You can replace the contents of an existing document window with a new file.

To replace the active document with another file:

· Use the ReplaceDocument(docwinID, promptSave, 0, 0, "fileName", "label", 0, 0, 0) transaction.

Note that the "label" parameter is ignored, and that the replacing document retains the label of the replaced one.

See also