Procedure DataManagerFileOpen(filename, UseAsDefault)


With the procedure DataManagerFileOpen you can open an existing data file. On success, the data file will be used as the current data file for the project.

        filename,         ! (input) a scalar string expression
        [UseAsDefault]    ! (optional, default 1) a scalar binary expression



A string containing the name of the existing data file (relative to the project directory).


A binary value to indicate whether the data file should be used as the default data file the next time the project is opened (value 1) or not (value 0).

Return Value

The procedure returns 1 on success, or 0 otherwise.


  • This function is only applicable if the project option Data_Management_style is set to Single_Data_Manager_file.

See also

The procedures DataManagerFileNew, DataManagerFileGetCurrent.