Set CurrentDataSet


The predefined element parameter CurrentDataSet contains a reference to the current actively loaded dataset(s) within an AIMMS project.

ElementParameter CurrentDataSet {
    IndexDomain  :  IndexDataCategories;
    Range        :  AllDataSets;


The element parameter CurrentDataSet contains, for every data category, an (integer) dataset reference (as an element of AllDataSets) to the current actively loaded dataset within the active case, or is empty if there no named dataset loaded as active for a particular data category.


The value of the element parameter CurrentDataSet can only be modified by actively actively loading datasets into the active case either in the Data Manager, through the Data menu, or using the functions DatasetLoadCurrent and DatasetSaveAs.


This identifier is only relevant when the chosen Data_Management_style is single_data_manager_file.