I often access OI system function programmatically. For example accessing Form Designer in OIv9.4 is:
VAL = SEND_MESSAGE('SYSTEM','RUNTOOL',@WINDOW,1,'/AP=':@Appid<1>:' /un=cm /pw= /wn=':Form)
where "form" is the name of the form to be accessed in form designer
What would the equivalent be in OIv10
Also where can I find access to other functions in OIv10 such as Rebuilding Indexes Etc
Chris
Chris,
You can open any entity in the IDE using the Repository DESIGN method:
reposID = @appID<1> : "*OIWIN**" : formID ideID = "RTI_IDE" call repository( "DESIGN", reposID, ideID )(ideID defaults to "RTI_IDE" if you leave it as null - it should be the name of the IDE instance you want to open the entity in).
To rebuild an index you can right-click on the table name in the Database panel and select "Rebuild an index" from the menu. You should be able to perform most operations on tables from the context menu in there.