i am unable to handle page up option in single page sub file ....dont know how to go back to the previous rrn so that previous page can be displayed ....
+1
A:
The required logic is:
- Check the indicator of the rolldown key
- If that indicator is true, then clear your subfile
- Your file pointer must go 13 (of whatever) rows back. Do that with readb, setll, chain and recordnumber, or something else (that is up to you)
- Rebuild your subfile
DON'T FORGET to reset your subfile number!!!!!!!!!!!
For small files, building the complete subfile at once and let the iSeries do the handling is much easier.
robertnl
2010-03-05 12:33:42