CISS Add CASE Plug-in Dialog Box

This plug-in is used to add a CASE statement with multiple CASE OFs.  This dialog box unfoldes in stages.  Initially only the CASE type and the View section are displayed.



When the View Section is picked the following dialog box opens.  This dialog box displays the views for the action block.



After the View is selected the list of attributes appear.  Select only one attribute.



After the attribute is selected the two suplimental dialog boxes close and the original dialog box begins to unfold.



From this point the second half of the CASEs dialog box need to be completed.  This includes the Sequence number, Type and Value.  After entering the values the Add button should be pressed.



After a row is added the updateable values return with only the sequence number changed.  This supports the continued entry of new values that are similar the the original value.



After lines have been added they may be updated.  This is done by selecting the line that you would like to update.  After the line is selected the values are displayed in the updateable fields.  Buttons are displayed the Copy, Update, Delete and Resequence.  There is also a Deselect button to undo the selection.  On the dialog box displayed below you can see that we have changed the sequence number from 40 to 60 and the Value from 6 to 5.




After pressing the update button the following dialog box appears.  It shows that the row selected was changed.  Now the values are not in sequence.  



To resequence them we will press the Resequence button.



Now we can press the Create CASE button to have the statement added.  The added statement would look like the statemente below.

|  +- CASE OF import itst2_test code 
|  +- CASE "1" 
|  +- CASE "2" 
|  +- CASE "3" 
|  +- CASE "4" 
|  +- CASE "5" 
|  +- OTHERWISE 
|  +--


After all of the rows are created then the Create If button would be pressed.

The following fields are displayed on the top of the dialog box.

     CASEs Drop Down List Box
     Section Drop Down List Box

The following Buttons are displayed on the top of the dialog box.

     Create CASE Pushbutton
     Help Pushbutton

The following fields are displayed to show which View has been selected.

     View:
     Entity:
     Attribute:

The following fields are displayed on the dialog box.

     Seq No:
     Type: List box
     Value:

The following buttons are displayed in the lower portion of the dialog box.

     Deselect Pushbutton
     Add Default Pushbutton
     Copy Pushbutton
     Update Pushbutton
     Delete Pushbutton
     Resequence Pushbutton
     License Pushbutton