Syntax

Path = SRP_Mobile_Repository(CtrlEntID, 'CreateMobileRepository', Path, MDOnly)

Returns

If successful the path to the mobile repository just created, otherwise 0.

Parameters

ParameterDescription
PathDirectory path where the mobile repository needs to be created.
MDOnlyBoolean flag to determine if only the MD table should be created rather than the mobile repository entity tables. Default value is False.

Remarks

The mobile repository contains several tables that mirror the local repository tables. For example, the local SYSREPOSWINS table will be mirrored by the MOBREPOSWINS table. Additionally an MD table will be created to maintain all of the entity pointers. These are used to redirect OpenInsight to use the entities in the mobile repository tables.

The MDOnly flag is used when only the MD table needs to be created in the mobile repository path. This is done if alternative tables are used to store the mobile repository entities.

Examples

// Attempt to create a mobile repository located at 'C:\MobRep'. Make sure all the 
// normal mobile repository tables are created rather than just the MD table. 
Path = SRP_Mobile_Repository(Window, 'CreateMobileRepository', 'C:\MobRep', No$)
  • No labels