Position at which value is entered in a subfile

380 pts.
Tags:
AS/400
AS/400 Subfiles
I have a subfile displaying 5 records at a time. It has a select field. Is it possible to determine at which row of the select field a value is entered.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    The SFL Record number will tell give you that information
    41,370 pointsBadges:
    report
  • philpl1jb
    I might use a READC to read the changed record. The select column might be the only field that can be changed. So if a record has been changed the select value must have been changed.
    49,730 pointsBadges:
    report
  • aceofdelts
    Another technique is to have a hidden field (usually the "key" field of that data element) as part of the subfile record. The value of the hidden field tells you the record that was selected.
    1,870 pointsBadges:
    report
  • jainamit
    Hi Charlie, That is what i am asking. how to get the sfl record number. What is the keyword?
    380 pointsBadges:
    report
  • jainamit
    hi Philip, Readc Will read the changes made and fetch the value which is entered, not the position in which it is entered.
    380 pointsBadges:
    report
  • TomLiotta
    The "keyword" would be SFILE(recformat:rrnfield). -- Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    The subfile relative record number value can be specifically retrieved from the I/O feedback area for ICF and display files without any "keyword". -- Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    If by position you mean SFL relative record number .. then if you have the F spec SFILE(recformat:rrnfield). The rrnfield will contain the SFL relative record number that relates to the most recent successful READC. Phil
    49,730 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following