, ,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Access to OIv10 system functions (OpenInsight 64-bit)

At 27 OCT 2020 01:49:07AM cmeyer wrote:

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


At 27 OCT 2020 08:34AM Carl Pates wrote:

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.

Carl Pates

View this thread on the Works forum...