HRL repeat while variable conditions

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HRL repeat while variable conditions

  • Creator
    Topic
  • #53054
    Scott Barrett
    Participant

      I’ve got the “repeat while” working for one value, but I’d like it to work for several values. Can I use a wildcard, or is there syntax for an OR condition?

      Example

      This works

      VALUE 05

      what I’d like:

      VALUE 05 OR 07 OR 09

      or

      VALUE 0[579]

      etc….

      ??

    Viewing 1 reply thread
    • Author
      Replies
      • #76385
        Jim Kosloskey
        Participant

          Scot,

          I never tried that.

          You might need to define VRL/FRL, etc. for each of those and refernce them in order within the HRL.

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

        • #76386
          Robert Kersemakers
          Participant

            Hi Scott,

            I think you’re confusing things. The Repeat While is about the definition of your complete HRL, not about which VRF/FRL you do or don’t want to see. The HRL will need to include all VRL/FRLs.

            So you will need to repeat over a field that is always the same for that repetition of VRL/FRL. Something like a segment name.

            Later inside the Xlate you can filter out certain ‘segments’.

            Hope this helps.

            Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.