|
Check out the CSRLOC DDS keyword. You can use it to specify the exact row and column that the cursor will go to. It is not ideal, as you need to hard-code the field positions, but it is the only option as far as I know for positioning the cursor in a subfile. Hope this helps, Adam "Luqman" <luqman@xxxxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 10/04/2006 07:52 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To rpg400-l@xxxxxxxxxxxx cc Subject How to Position Cursor to particular Field of Particular Row in Subfile ? How do I set my cursor to Column No. 3 of Row No. 5 ? I can set the Row No. 5 with SFLRCDNBR=5 but it goes to Column No. 1 of that row, how can I set the Column No. 3 ? I tried using Position Cursor of Column No. 3 and set the Indicator but after putting the Indicator *On, it goes to Row No. 1, Column No. 3. Any idea please ? Best Regards, Luqman
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.