- Procedure CaseSetCurrent(case)
CaseSetCurrent
The procedure CaseSetCurrent sets the case that is regarded as the
current case. It does not load or save any data or checks whether data
needs to be saved. You can, for example, use it to make a newly created
case the current case, so that during a CaseSave the data is written
to this case.
CaseSetCurrent(
case ! (input) element of the set AllCases
)
Arguments
- case
An element of the set
AllCases, refering to the case that should become the current case.
Return Value
The procedure returns 1 on success, or 0 otherwise.
Note
This function is only applicable if the project option
Data_Management_styleis set toSingle_Data_Manager_file.If the option
Data_Management_styleis set todisk_files_and_folders, please use the functionCaseFileSetCurrentinstead.
See also
The procedures CaseNew, CaseCreate, CaseSelectNew, CaseSave.