Subfile choice auto advance

75 pts.
Tags:
AS/400
AS/400 Subfiles
I am using SFLSNGCHC(*AUTOSLT) to use subfile records as like choice. but I cannot do the auto advanced record like CHECK(ER). Is there any way can we use auto forward option in subfile selection?

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: 4  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
  • TomLiotta
    What does your subfile (and control record) DDS look like? -- Tom
    125,585 pointsBadges:
    report
  • csuoaananth
    If I press space bar it is showing the color for selected choice in blue...now i need to auto advance for this process. Is it possible for CHCSLT option or do I need to used only "ENTER" button?

    A          R W#REC01                   SFL        
    A            CTLFLD         1Y 0H      SFLCHCCTL            
    A            $CUSN         15A  O  3  1                     
    A          R W#CTL01                   SFLCTL(W#REC01)      
    A N25                                  SFLDSP                  
    A N26                                  SFLDSPCTL               
    A  26                                  SFLCLR                  
    A  49                                  SFLEND(*SCRBAR *SCRBAR) 
    A                                      SFLSIZ(9999)            
    A                                      SFLPAG(0014)            
    A                                      WINDOW(2 2 18 35)       
    A                                      SFLSNGCHC(*AUTOSLT)     
    A                                      CHCAVAIL((*COLOR YLW))  
    A  CHCSLT((*COLOR BLU))
    A                                      CHCUNAVAIL((*COLOR RED))
    A                                  1  1'Customer(S)'           
    A                                      DSPATR(HI)              
    75 pointsBadges:
    report
  • TomLiotta
    I don't see where you have CHECK(ER) specified. Is this the subfile that isn't working with CHECK(ER)? There are no 'I'nput (nor 'B'oth) fields, so there is no place that you can use CHECK(ER) here. For this subfile, it doesn't look as if it's needed. The space-bar will mark an item, but it's the [Enter] key that makes a selection. . Pressing [Enter] on an item that isn't currently selected will cause the selection to change to the new item. If the cursor is outside the subfile list items and [Enter] is pressed, the selection won't change and the currently selected item will be returned. . I wouldn't use the space-bar except to keep an item as selected while I scrolled to other items in the list (in case I wanted to change my choice later). . CHECK(ER) can work for a normal SNGCHCFLD, but it's trouble for a subfile because subfiles can be scrolled to new pages. . Tom
    125,585 pointsBadges:
    report
  • csuoaananth
    Thank you very much for your valuable points..... i can not use this option for subfile you are correct... :)
    75 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