- 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
CurrentCase
contains 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
CurrentCase
is used in both data management stylesSingle_Data_Manager_file
andDisk_files_and_folders
. When usingSingle_Data_Manager_file
, the value ofCurrentCase
can only be modified by actively loading another case either in the Data Manager, through the Data menu, or using the functionsCaseLoadCurrent
andCaseSaveAs
. When usingDisk_files_and_folders
, the value ofCurrentCase
can only be modified by actively loading or saving a case through the Data menu, or by using the functionsCaseFileSetCurrent
,CaseCommandLoadAsActive
,CaseComandSave
,CaseComandSaveAs
orCaseCommandNew
.
See also
The set AllCases
, the element parameter CurrentDataSet
. Loading and saving
cases is discussed in full detail in Working with Cases.