Page History
...
Null, regardless of whether the function succeeded.
Note: Always call the Get_Status function after calling Repository.
See also
Repository() function, GETSUPER Method, Get_Repos_Entities().
Example
Code Block |
---|
/* Change the list of "super-entities" for the CENTERWINDOW stored procedure, overwriting the existing list. */ $insert logical Declare Function Repository, Get_Status AppID = @APPID<1> ;* current application TypeID = "STPROC" ;* OpenInsight stored procedures ClassID = "" ;* Not Applicable Stored_Proc_Name = 'CENTERWINDOW' Super_Entities = @APPID<1>:"*STPROCEXE**CENTERWINDOW" : @fm : @APPID<1>:"*OIWIN**CENTERWINDOW" overwrite_flag = TRUE$ entid = AppID : '*' : TypeID : '*' : ClassID : '*' : Stored_Proc_Name result = Repository("SETSUPER", entid, Super_Entities, overwrite_flag) /* if successful, the list of super-entities is the stored procedure executable (STPROCEXE) and window (OIWIN) called "CENTERWINDOW". */ If Get_Status(ErrCode) then call msg(@window, 'Error Message returned: ' : ErrCode) end |