Reply To: If data fetched produced multiple values

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf If data fetched produced multiple values Reply To: If data fetched produced multiple values

#57858
Jonathan Hamilton
Participant

    If it’s a repeating field (check if the data contains a tilda ‘~’) setup an iterate over the field.

    iterate 1(0).1(0).0(0).ORC.00219 %f1

       if 1(0).1(0).0(0).ORC.00219(%f1)  eq =STRING

    You could also cheat and force it to grab the first iteration using

       if 1(0).1(0).0(0).ORC.00219(0) eq =STRING

    If it’s just a sub-component do as Sam suggested.

    Jonathan