QPR Installation Instructions

Quit

Quit

Previous topic Next topic  

Quit

Previous topic Next topic JavaScript is required for the print function  

Revision history:

Introduced in QPR 7.2.1

Last changed in QPR 2012.2

 

Shuts down QPR Modeling Client.

 

Synopsis:

 

PGApplication.Quit(Save | No Save)

 

Parameters:

 

Save (1): Save possible changes to the model before closing

No Save (0): Do not save changes even if the model was changed.

 

Required Rights:

 

None.

 

Return Values:

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

 

RV_SUCCESS

RV_CANNOT_CLOSE_MODEL

RV_FUNCTION_CANNOT_BE_USED_IN_VALIDATION_SCRIPT

 

Example Procedure:

 

Sub EndSession

 PGApplication.Quit(1)

End Sub