title: Oracle Forms - Enable / disable tabular list item rows based on the query data
body: <p>I have a text item ('TXT_EG_PER') and a list item('LI_P') as tabular in a datablock('DB') as shown in the picture.
  <a href="https://i.stack.imgur.com/Rtz0v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rtz0v.png" alt="picture"></a>
   I want to make list items enable/disable singly based on the row data. </p>
  
  <p>I used 'TXT_EG_PER's WHEN-VALIDATE-ITEM trigger. My code in it:</p>
  
  <pre><code>IF smt..    THEN
      SET_ITEM_PROPERTY  ('DB.LI_P',
                       ENABLED,
                       property_true);
  ELSE
      SET_ITEM_PROPERTY  ('DB.LI_P',
                       ENABLED,
                       property_false);
  END IF;
  </code></pre>
  
  <p>But it makes all list items enable or disable. I want to do it row based.</p>