× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Luqman,

You can use the INFDS with the SFLCSRLOC(CURSOR). One of the subfields gives 
you the current RRN of the SFL. The cursor would be positioned to the first 
input capable field on that SFL record.

If there are more input capable fields in the SFL you need CSRLOC.

Regards,
Carel Teijgeler  

*********** REPLY SEPARATOR  ***********

On 11-4-06 at 2:03 Luqman wrote:

>I think you all misunderstood my question, my question is not positioning to
>particular row, but positioning to particular column.
>
>Ok, lets do it like this.
>
>When my screen of sub file is displayed having 04 rows and 03 columns, the
>cursor should be on the 3rd column of 3rd row, how can I do this.
>If I code like this.
>
>sflrcdnbr=3
>exfmt ctl
>
>then cursor will go to SubFile Field no. 1 of  SubFile Line no. 1, but I need 
>the cursor on
>SubFile Field no.3 ?
>
>When I say row no. 1 and column no. 3, it does not refer to the AS/400
>Screen Row/Column, it refers to SubFile Row(Line No.1) and SubFile Column 
>(Field No. 3).
>
>The RTNCSRLOC(FLD) returns the Current field name.
>
>I even tried using Eval FLD='mqty' which is the 3rd field of Subfile, but 
>still I can't get the cursor on it.
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.