Page History
...
null
Note: Always call the Get_Status function after calling Repository.
See also
Repository() function, DESTROY method, Get_Repos_Entities().
Example
| Code Block |
|---|
* Destroy the BTREEREADTEST_BACKUP form, and entities used by it (window events) */
Declare Function Repository, Get_Status
AppID = @APPID<1> ;* current application
TypeID = "OIWINEXE" ;* OpenInsight window executable
ClassID = "" ;* Not Applicable
Window_Name = 'BTREEREADTEST_BACKUP'
entid = AppID : '*' : TypeID : '*' : ClassID : '*' : Window_Name
result = Repository("TDESTROY", entid)
/* the form and its associated events have been destroyed */
* test result
If Get_Status(ErrCode) then
call msg(@window, 'Error Message returned: ' : ErrCode)
end |