Page History
...
null
Note: Always call the Get_Status function after calling Repository.
See also
Repository() function, Get_Repos_Entities().
Example
| Code Block |
|---|
/* Add a note to the CENTERWINDOW stored procedure. Set evaluation and recompile flags */
Declare Function Get_Repos_Entities, Repository, Get_Status
AppID = @APPID<1> ;* current application
TypeID = "STPROC" ;* OpenInsight stored procedures
ClassID = "" ;* Not Applicable
Stored_Proc_Name = 'CENTERWINDOW'
noteparam = 'This is a note set through REPOSITORY("FLAG")'
entid = AppID : '*' : TypeID : '*' : ClassID : '*' : Stored_Proc_Name
result = Repository("FLAG", entid, noteparam, '' ,3,0,'')
If Get_Status(ErrCode) then
call msg(@window, 'Error Message returned: ' : ErrCode)
return 1
end |