Increment of the %g indicators

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Increment of the %g indicators

  • Creator
    Topic
  • #51690
    Chris Wethey
    Participant

      Looking to read thru the OBX records and checking a value in each record – able to get the first record read but not able to read the rest of the records (i.e. 16 OBX records – i have created my iterate for the %g1 and %g2 and added the math – add as 1 -> %g2 or as $%g2 – neither work – what am i missing.

      Thanks

      Chris Wethey

    Viewing 2 reply threads
    • Author
      Replies
      • #71304
        Jim Kosloskey
        Participant

          Chris,

          Why are you attempting to add to the counters?

          Make sure your basis is correct for both levels (I am assuming repeating OBR group and repeating OBX group).

          Also, remember to include the OBR counter in the basis for the OBX group.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #71305
          Chris Wethey
          Participant

            Jim,

            What i forgot to change was the iterate type it was originally list instead of Group.  I had created but forgot to change to the group when defining the %g1 and so on.   😳

            Once i changed all the type’s to Group then it was going thru all the OBX records and changing the fields that i was looking for.  

            Thats what happens when your a newbie learning the ropes.

            Thanks for pointing out the grouping in your message.  That was why it was only reading the first OBX record and passing the rest over without looking.

          • #71306
            Jim Kosloskey
            Participant

              Chris,

              No problem.

              We have all been there (I keep going back from time to time 🙄 )

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          Viewing 2 reply threads
          • The forum ‘Tcl Library’ is closed to new topics and replies.