Problem:
An application moved cursor focus to a group field when pressing a specific key. i.e. to the index 9 in an array of 12. This apparently worked OK on a pre 4.0 version of OCDS but not on Server Express.
Resolution:
The dialog (local code associated with a panel) pertaining to the group field TOGGLE is shown below. This is the field to jump to when pressing END (that doesn't work). It's a 12 member array of 7 bytes, the application jumps to index 9.
PANEL GROUP PRE-GRP VERTICAL
LINE 13 COLUMN 59 HEIGHT 9 WIDTH 7
TYPE DATA ACC-EXIT BAR
SELECT BAR
LENGTH 7
BACKGROUND BLACK FOREGROUND WHITE INTENSITY
END BAR
PANEL FIELD TOGGLE
LINE 13 COLUMN 59 LENGTH 7 ORDER 5
USAGE OUT
FORMAT ALPHANUMERIC
END FIELD
END GROUP
Note the field has been added as USAGE OUTPUT. What you can't do in Dialog is go to a field (GOF) that is USAGE OUTPUT.
Change it to 'IN' and it works fine. If you need to display something in an array, you'd just move a value to it.
The easiest way to change this is edit the export file changing OUT to IN, then import it and save.
I suspect this was a bug in the old product and should not have worked.



