Tuesday 16 December 2008

OI - Did you know?

Within ARev32 and CTO there are subroutines that interface with the OpenInsight Presentation Server. This allows for the use of OpenInsight GUI items in your existing legacy applications.

FUNCTION CTO_MSG(PARAMS)
This routine opens up an OpenInsight MSG window on your ARev32 or CTO form.
For example:
call CTO_MSG("Hello World")

FUNCTION CTO_POPUP(DEFN,POPUPNAME)
This routine displays an OpenInsight PopUp window on your ARev32 or CTO form.
For example:
call CTO_POPUP("","CUSTOMER")

SUBROUTINE CTO_GUI_SUBROUTINE(SNAME,PARAM1,...PARAM20)
This routine calls any OpenInsight subroutine that requires running within an event context.
For Example:
call CTO_GUI_SUBROUTINE('START.WINDOW','ORMAIN32') will call Report Builder.

call CTO_GUI_SUBROUTINE("RUN_REPORT","","LIST 10 VOC F1 F2 F3") will run an Rlist statement.

No comments:

Post a Comment