>Input controls in an OIPI report.


One of the new features of OIPI.Net is the ability to define input controls (textboxes, radio buttons, etc.) that are created on the form and allow user interaction. The additional Set_Printer messages are INPUT_TEXTBOX, INPUT_RADIOBUTTON, INPUT_CHECKBOX, and INPUT_COMBOBOX.

Below is a sample code snippet:

0001 DefaultValue = “LastName,FirstName”
0002 toolTip = “Enter the last and first name”
0003 xPos = 0
0004 yPos = 3.5
0005 posn = “”
0006 posn<1> = xPos
0007 posn<2> = yPos
0008 x = Set_Printer(“INPUT_TEXTBOX”, DefaultValue, toolTip, posn)

In addition, did you know that you can now configure the use of OIPI versus OIPI.Net by application, and not just globally. Specific control records can be created in the SYSENV table to fine-tune the control of OIPI.

OpenInsight first looks for:
and lastly

It is then possible to have users of application “ABC” using OIPI, while everyone else uses OIPI.Net or vice versa.

Field 1 of each control record should be either VSPRINTER for OIPI or VSPRINTER2 for OIPI.Net

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s