4D v13WR OPEN DOCUMENT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v13
WR OPEN DOCUMENT
WR OPEN DOCUMENT
The WR OPEN DOCUMENT command opens the document specified by document and places it in the 4D Write area referenced by area. document is the name or the complete access path of the document file.
If document contains only the name of the file, WR OPEN DOCUMENT will look for the document in the folder of the database's structure file. If document is an empty string, WR OPEN DOCUMENT displays the standard Open file dialog box. You can set the type using one of the following constants, found in the "WR Document types" theme:
Compatibility note: To retain compatibility with previous versions, the 4WR6 (4D Write 6.0 Document) and DOC6 (Word 6 Document) types are also supported. In all cases, after the command is executed, the type variable returns the type of the actual open document. The following example opens a file located in the database's directory. WR OPEN DOCUMENT(area;"HD:Folder:database folder:File")'On Mac OS |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D Write 6.5 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||