Have a layout with two portals, one with a list of employees the other with related records of selected employee. The employee portal has only the id field with a button over it which when pressed I set some other fields as well as globals. It also has conditional formatting when selected. My question, when this layout is called from a Main Menu, I am able to make the first row active so I can get all this done (referencing the data viewer), except for the conditional formatting. The variables and fields the conditional formatting is based on have the values needed. No Portal refresh, window refresh will do it. When I click on another employee, the conditional formatting is triggered for the first row, then I have to click on my selection again to select a different employee. Here is the script.