Procedure DatasetSaveAs(data\_category, dataset)


The procedure DatasetSaveAs shows a dialog box in which the user can specify a (new) dataset to which the data is saved.

       data_category,   ! (input) element in AllDataCategories
       dataset          ! (output) element parameter in AllDataSets



An element in AllDataCategories, specifying the data category for which you want to save the data.


An element parameter in AllDataSets. On return this parameter will refer to the dataset that the user selected.

Return Value

The procedure returns 1 if the dataset is saved successfully. It returns 0 if the user cancelled the save operation. If any other error occurs, then the procedure returns \(-1\) and CurrentErrorMessage will contain an error message.


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