3 Replies Latest reply on Feb 5, 2016 1:51 AM by bigtom

    Popover: Contextual record


      I have a 'Nutrient_info' table where I have a popup to select the record using the following script:

      Freeze Window

      Perform Script [ “Allow user abort” ]
      Enter Find Mode [ ]
      Set Field [ Info_nutrient::__ID; Global::gSelectNutrient_info ]

      Perform Find [ ]

      Commit Records/Requests



      This works fine. However, I have a relationship:

      Patient::Tool_type = Tools::type = Nutrient::tool_type


      On Patient layout I have a portal to Tools. If 'nutrient' tool_type appears in the portal, from it I can open a popover showing its records. I'd naively thought the same popup used in the Nutrient layout would work in this popover. The popup does select the nutrient, but it does not contextually change the records in the popover to match the popup selected.