1 Reply Latest reply on Aug 4, 2010 9:30 AM by philmodjunk

    Highlight found records in a portal after search

    Mitch

      Title

      Highlight found records in a portal after search

      Post

      Ho,

      I have a page layout, with a portal listing related records.  When I enter 'Find Mode' and then "Search' for data within the portal, the relevant layout, and portal containing the criteria is sorted.  

      Is there any way to "highlight'' all the fields within the portal that satisfy the search criteria....?

      Mitch

        • 1. Re: Highlight found records in a portal after search
          philmodjunk

          It depends on the criteria.

          If the criteria is a specific value, you may be able to put this value in a global field or global variable and use a conditional format expression to change the fill color of the matching portal row fields.

          If the criteria is more complex, you might need to freeze the window and separately search the portal's table on another layout and load a global field or global variable with recordID's or serial numbers of matching portal records. Then you can return to the layout and your conditional format expression can highlight the fields if the portal record's recordID or serial number is a member of this list of values. (You'd use the FilterValues function to check against the list here.)