Midrange News for the IBM i Community


Posted by: abc4000
position subfile
has no ratings.
Published: 26 Apr 2013
Revised: 26 Apr 2013 - 3871 days ago
Last viewed on: 30 Nov 2023 (4615 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

position subfile Published by: abc4000 on 26 Apr 2013 view comments(1)

I am loading  ROW PER PAGE page at time. If I want to posstion my seach on row 13. how do i do? please help

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: position subfile
Posted: 10 years 7 months 6 days 14 hours 57 minutes ago
Edited: Fri, 26 Apr, 2013 at 10:58:44 (3871 days ago)

SFLRCDNBR in the subfile-control record controls which page of the subfile is shown on output. It should be a 4 digit, 0 decimals field, O, B, or H. The value must be non-zero, and must not be greater than the number of rows in the subfile (so if the subfile is empty, you should set it to 1). More details, including examples, are available in Programming DDS for display files. You may also want to take a look at Application Display Programming.