ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Conditioned variables in subfile.

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

  • Conditioned variables in subfile.

    Remind me again why I cannot put conditioned text strings in a subfile record...

    PHP Code:

    A  22                           O 11 49
    'TEST1'                 
    A N22                           O 11 49'TEST2'                 

    CPD7814      30        1      Message . . . . :   Option indicators not allowed on fields in subfile record

  • #2
    Re: Conditioned variables in subfile.

    cause it wont let you
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Conditioned variables in subfile.

      I swear I used to do it.

      Comment


      • #4
        Re: Conditioned variables in subfile.

        This works only with one page subfiles !

        Comment


        • #5
          Re: Conditioned variables in subfile.

          Originally posted by jamief View Post
          cause it wont let you
          Geez...
          Hail to the king, baby.

          Comment


          • #6
            Re: Conditioned variables in subfile.

            Originally posted by ccharvet View Post
            This works only with one page subfiles !

            Correct. You can only have conditioned fields in a subfile format when the SFLPAG and the SFLSIZ values are the same.

            Comment

            Working...
            X