Page History
...
This is available in OpenInsight 9.2 and above. In 9.2 it is a programmatic function only. In 9.2.1, the Module Manager was introduced to create and organize Modules.
Note: Always call the Get_Status function after calling Repository.
See also
Repository() function, SETMODULE method, ADDMODULE method, CLEARMODULE method, GETMODULE method
Example
Code Block |
---|
* Remove a Module Name from an Entity Declare Function Repository * Create an array of entities to use Module methods against reposStack = "" reposStack := @appid<1> : "*OIWIN**CUSTOMERS" : @fm reposStack := @appid<1> : "*OIWINEXE**CUSTOMERS" : @fm reposStack := @appid<1> : "*POPUP**CUSTOMERS" removeThisModuleName = "CUSTOMER_INVOICE" * Remove a Module name to the entities rPos = 0 rFlag = "" module = "" Loop Remove thisEntity From reposStack at rPos setting rFlag var = Repository( "REMOVEMODULE", thisEntity, removeThisModuleName ) If Get_Status(ErrCode) then call msg(@window, 'Error Message returned: ' : ErrCode) end While rFlag Repeat |