Multiple values for Table Lookup

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multiple values for Table Lookup

  • Creator
    Topic
  • #50402
    Scott Smith
    Participant

      Is it possible to send multiple variables for a table lookup?  I am performing via tcl.  Here is an example of what i am asking:

      tbllookup variable1 variable2

    Viewing 4 reply threads
    • Author
      Replies
      • #65988
        Alice Kazin
        Participant

          I concatenate the 2 variables and use them for the table

          For example:

          ABC001

          ABC002

          DEF001

          DEF002

        • #65989
          James Cobane
          Participant

            Scott,

            Are you asking if you can perform a table lookup for each of the values supplied and if any are found, do something?

          • #65990
            Scott Smith
            Participant

              Actually I want to search a table with values from OBR 16 and OBR 28.  these values might not be the same.

            • #65991
              James Cobane
              Participant

                Do both values have to be ‘found’ or is it if ‘either one’ is found?  Either way, you can simply perfom the table lookup twice, and check to see if either (or both) were found.

                Jim Cobane

                Henry Ford Health

              • #65992
                Bala Pisupati
                Participant

                  I agree with Jim, we have a similar situation where we need to check OBR4 and OBR19 and we have two seperate tables for each.

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