xpxGetModelOpenMode

FUNCTION xpxGetModelOpenMode (modelId           : GENERIC;
                              VAR modelOpenMode : INTEGER)
                              status            : INTEGER;

The xpxGetModelOpenMode function returns the actual open mode of the specified model modelId in the argument modelOpenMode. The actual open mode can be one of the following integer constants: xpxRO for open for read only, xpxRW for open for read and write, xpxERW for open for exclusive read/write operations in an edmServer implementation (in a standalone implementation, xpxERW is equal to xpxRW), xpxNOACCESS when the model is not open

Arguments


TypeNameComment
GENERICmodelIdA numeric modelID that uniquely identifies the model of interest in the EDMdatabase.
INTEGERmodelOpenMode

The variable that will receive the current open mode of the specified model. The possible returned values are:

  • XPXRO  - model open for read only access.
  • XPXRW  - model open for read and write access.
  • XPXNOACCESS - model is closed, no access to the model is permitted.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.