ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Subfile question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Subfile question

    Hello,

    I am creating a subfile. I have two numeric fields that default to display only. I want to put a indicator on the screen ie. *in06 so the user can change the data. Is there a way in DDS where I can alter usage based on the indicator?

    Example:
    A SOCQTY 6Y 0O 6 99EDTCDE(M)
    A SOPQTY 6Y 0O 6107EDTCDE(M)

    Thanks,

    DAC

  • #2
    Re: Subfile question

    change the fields to be "B"oth instead of output only and put a conditioning indicator for protect. for display only turn on the protect indicator & turn it off when you need to be able to edit
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: Subfile question

      You'd probably want to use CHGINPDFT as well so that it doesn't underline the field, et al, to make it look like an input field.

      Comment

      Working...
      X