I'm having an error shown as in the picture below :
If I enter blank option or wrong option, I will get the error as above
When this error occur, I cant Update, Delete and Refresh.
It happens when I want to update existing record and also when I put wrong option and blank option. When I debug, I realize that the error comes when want to UPDATE SUBFILE.
OSR Begsr
ReadC SFL01
DOW *IN91 = *OFF
Select
OPT WhenEQ 2
Exsr UPDSR
OPT WhenEQ 4
Exsr DLTSR
OPT WhenEQ 5
Exsr DSPSR
Other
Exsr ERRSR
EndSL
Clear OPT
UPDATE SFL01
READC SFL01
Enddo
Endsr
What should I do? Do I need to chain from logical file before UPDATE SUBFILE? Please help me. Thanks in advance


AGN5D, I assumed that was your DB file. But you say the error is when updating the Subfile?