- Set CurrentCase
CurrentCase
The predefined element parameter CurrentCase contains a reference to
the currently active case within an AIMMS project.
ElementParameter CurrentCase {
Range : AllCases;
}
Definition
The element parameter
CurrentCasecontains an (integer) case reference (as an element ofAllCases) to the currently active case within an AIMMS project, or is empty if the active case is not named.
Updatability
The element parameter
CurrentCaseis used in both data management stylesSingle_Data_Manager_fileandDisk_files_and_folders. When usingSingle_Data_Manager_file, the value ofCurrentCasecan only be modified by actively loading another case either in the Data Manager, through the Data menu, or using the functionsCaseLoadCurrentandCaseSaveAs. When usingDisk_files_and_folders, the value ofCurrentCasecan only be modified by actively loading or saving a case through the Data menu, or by using the functionsCaseFileSetCurrent,CaseCommandLoadAsActive,CaseComandSave,CaseComandSaveAsorCaseCommandNew.
See also
The set AllCases, the element parameter CurrentDataSet. Loading and saving
cases is discussed in full detail in Working with Cases.