[Migrated content. Thread originally posted on 01 December 2009]
We must be doing something wrong, so please help if you can.We're using AcuBench, but we're not using it to generate code. The logic of the program is totally in our hands. We use AcuBench to generate screens etc, but not code.
Our basic screen handling logic is like this:-
DISPLAY SS01 UPON WSSVI-WINDOW-HANDLE.
MOVE 99 TO PF-KEY.
PERFORM UNTIL PF-KEY = 16
ACCEPT SS01
ON EXCEPTION CONTINUE
END-ACCEPT
EVALUATE PF-KEY
WHEN....
.... DO STUFF
END-EVALUATE
DISPLAY SS01 UPON WSSVI-WINDOW-HANDLE
END-PERFORM.
The problem we seem to be wrestling with is damage to grids when the second DISPLAY statement is executed.
We often see damage such as grid headings being overwritten with data, or the last row of the grid being initialized.
Does anyone have some sure-fire tricks or tips for using grids?
Thanks,
Ian



