QPR Installation Instructions

CloseModel

CloseModel

Previous topic Next topic  

CloseModel

Previous topic Next topic JavaScript is required for the print function  

Revision history:

Introduced in QPR 7.2.1

 

Closes the current model without any prompt. Changed views are saved before closing the model. If no model is open at the moment, this function does nothing and returns RV_SUCCESS.

 

Synopsis:

 

SCModel.CloseModel

 

Parameters:

 

None.

 

Required Rights:

 

None.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_MODEL_NOT_OPEN

RV_CANCELLED

 

Example Procedure:

 

iRet = SCModel.CloseModel