Happy New Year everyone.
I have a SFL listing available line items and when one is selected, one field needs to be entered, an effective date.
I have an indicator on the field to PC and RI on error but the field doesn't RI and the cursor goes to the first input capable filed instead, even though the assigned indicator shows its on when in debug. Once I tab to the field and make the entry and press Enter, the record updates and the next selection is processed.
I'm using two DO loops within each other; the first loads the SFL and then drops into the second which displays the screen, handles function keys and edits. The second loop is a do until a field(Error) equals 'N' which I load with a 'N' immediately after the do until line. In the edit routine, missing data causes Error to be 'Y' so SFLNXTCHG can be processed properly.
I've done something like this years ago in another life but I'm missing something.
Any suggestions or solution will be greatly appreciated.
Thank you,
Red.
I have a SFL listing available line items and when one is selected, one field needs to be entered, an effective date.
I have an indicator on the field to PC and RI on error but the field doesn't RI and the cursor goes to the first input capable filed instead, even though the assigned indicator shows its on when in debug. Once I tab to the field and make the entry and press Enter, the record updates and the next selection is processed.
I'm using two DO loops within each other; the first loads the SFL and then drops into the second which displays the screen, handles function keys and edits. The second loop is a do until a field(Error) equals 'N' which I load with a 'N' immediately after the do until line. In the edit routine, missing data causes Error to be 'Y' so SFLNXTCHG can be processed properly.
I've done something like this years ago in another life but I'm missing something.
Any suggestions or solution will be greatly appreciated.
Thank you,
Red.
Comment