[Migrated content. Thread originally posted on 08 October 2004]
Hello,First, forgive my ignorance. I am new to AcuBench (and Cobol for that matter). My experience is with VB/Active Server Pages and I've recently been learning AcuBench in an effort to upgrade some character based apps to gui using the bench.
I have a grid control that is populated from an array in an FD. To do so I use the following code in an event paragraph:
*
load-grid.
MOVE ZEROS to SC-L-INDEX
PERFORM UNTIL SC-L-INDEX = 40
ADD 1 to SC-L-INDEX
MODIFY GI-SC-GRID, RECORD-TO-ADD =
sc-hist-container-item(SC-L-INDEX)
END-PERFORM
.
This loads the grid as desired with data for a particular "Member". However when I switch "members" I cannot clear the data from the grid. I've tried everything that I can think of and have checked my code several times without success. If anyone had any insight it would be appreciated.
Thanks in advance,
Mick