xpfOpenModel

FUNCTION xpfOpenModel (modelId : GENERIC;
                       access  : INTEGER)
                       modelId : GENERIC;
                

The xpfOpenModel function opens the specified model <modelId> in the specified open mode <access>, and returns an identifier of the open model <modelId> or a zero when the function fails .

Arguments


TypeNameComment
GENERICmodelIdUnique id of the model within the EDMdatabase
INTEGERaccess

The legal access modes are:

  • xpxRO :  Open for read only operations.
  • xpxRW : Open for read and write operations 
  • xpxERW : Open for exclusive read write operations in a edmServer implementation.

In a standalone implementation, xpxERW is equal to xpxRW.

Return Value


 

TypeNameComment
GENERICmodelIdidentifier of the open model   or a zero when the function fails

Options


 

Example


<Missing Example>

 

See also

Filter by label

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

Â