Select '1' and press Enter.
Op Empid
________(Sel)
__ XXXXXXXXXXXXXXXXXXXXXXXX
__ XXXXXXXXXXXXXXXXXXXXXXXX
__ XXXXXXXXXXXXXXXXXXXX
Here in above screen shot if i enter the empid as 10(in "Sel" field),the subfile shd display NEXT THREE empid's .
And if i take Op=1 , it shd update empid.
If other than '1' is given ,it shd display "INVALID option",, my problem is if i give invalid option for any record in page4,it is displaying err msg,but the cursor goes to top most record of the subfile.
i need my cursor to position to the same record where i have taken Op.
I have handled these using SFLCSRRRN and SFLRCDNBR,by the pseudo code found from websites, im not clear wit these.
???
Thanks in adv.
Op Empid
________(Sel)
__ XXXXXXXXXXXXXXXXXXXXXXXX
__ XXXXXXXXXXXXXXXXXXXXXXXX
__ XXXXXXXXXXXXXXXXXXXX
Here in above screen shot if i enter the empid as 10(in "Sel" field),the subfile shd display NEXT THREE empid's .
And if i take Op=1 , it shd update empid.
If other than '1' is given ,it shd display "INVALID option",, my problem is if i give invalid option for any record in page4,it is displaying err msg,but the cursor goes to top most record of the subfile.
i need my cursor to position to the same record where i have taken Op.
I have handled these using SFLCSRRRN and SFLRCDNBR,by the pseudo code found from websites, im not clear wit these.
???
Thanks in adv.



Comment