how to handle Cursor progression in a mixed display file

Subfile Control
Subfile Display
I have a mixed DSPF (a combination of RECORD & SFL) Diagram is like: ------------------------------- Customer screen--------------------- from date :____                                                Print: _(Y/N) to date :____ opt             description ... _         ___________ _         ___________ _         ___________                                                                             bottom ------------------------------------------------------------------------ My question is : I want that on tabbing,cursor should go from 'from date -> to date -> Opt(in subfile)till 3rd record and at end it will go to 'print' field. Currently,the cursor is not going to Opt field in SFL from 'To date'. but going to the "print field' ...pls help.

Software/Hardware used:

Answer Wiki

Thanks. We'll let you know when a new response is added.

You need to use the FLDCSRPRG :

OK, so in SDA place * against the “from date” field and take the “General Keywords” option.
Against FLDCSRPRG enter the field you want the cursor to go to after this field. In this case the “to date” field.
You can do this against all fields.


Discuss This Question: 5  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.
  • TomLiotta
    I doubt if FLDCSRPRG is going to help. The control record fields and the subfile fields are in different record formats. FLDCSRPRG must specify a field in the same record as the keyword. Besides, FLDCSRPRG can't be used in a subfile. If FLDCSRPRG worked from the control record to jump into the first subfile row, how would FLDCSRPRG be specified for the subfile row? Would it point to the next subfile row? Or would it point back to a control record field? Tom
    125,585 pointsBadges:
  • Supriyoas400
    I agree with you Tom,as i have 2 different record formats here FLDCSRPRG will not work. But i am not finding any way out.
    250 pointsBadges:
  • Splat
    Have you considered a separate display format containing the Print: _ (Y/N) and displaying beneath the subfile?
    12,935 pointsBadges:
  • philpl1jb
    Or Protect the Print (Y/N) entry field with DSPATR(PR) After the user indicates advance (Function Key / Enter) Protect the other fields and unprotect the Print(Y/N) field or Put the Print(Y/N) in the footer record .. when processing returns read the footer record to get that value.
    54,090 pointsBadges:
  • TomLiotta
    I probably wouldn't have a 'Print' field at all. I'd probably do something like 'F6=Print'. Tom
    125,585 pointsBadges:

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.

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


Share this item with your network: