openDocument method
Opens the document in a specified file.
Syntax
boolean = Scheduler.openDocument(sFile)
Applies to
Scheduler object.
Parameters
- sFile
- String. The name of the file to be opened. The file name extension (.mps or .mpx) indicates the format of the file that is opened.
Return value
boolean. The boolean value is true if the document is opened successfully; otherwise, it is false.
Usage
This method opens the document stored in the file that you specify as sFile. It can open files in either native (.mps) format, or in .mpx format.
See also
saveDocument method