title: How can I get the background color of one HTML/ASP row to change when a boolean is set true?
body: <p>I've got a table generate on page-load that is full of data.  When the user clicks an ID, that row needs to highlight.  Right now, I've got it so that when the user clicks the ID, a boolean is set true, and then some other stuff happens.  I have it set so that when the boolean is true, that row will be highlighted.  However, this isn't happening.  Can you help me figure out why?</p>
  
  <pre><code>&lt;%  
      If RS.RecordCount &gt; 0 then 
          Do While Not RS.EOF
              if RS("ROLL_ID") = IntRollID then
                  boolDetailTable = true
              end if
  %&gt;              
  &lt;TR &lt;% if boolDetailTable = true then %&gt; bgcolor "#CCFF00" &lt;%end if%&gt;&gt;
      &lt;a target=_top href="&lt;% = getInfo(RS("ROLL_ID"))%&gt;" onMouseOver="window.status='Click to get info';return true;" onMouseOut="window.status='';return true;"&gt;
      &lt;TD style="width: 9%; cursor: hand; border-right: none; align: center; vertical-align: center;" 
          title="Click to get info"&gt;
          &lt;font color="navy"&gt;&lt;%= RS("ROLL_ID")%&gt;&lt;/font&gt;
      &lt;/TH&gt;
      &lt;/a&gt;
      &lt;TD style="width=25%"  style="font-size: 12pt" align="center"&gt;&amp;nbsp; &lt;% = RS("ROLL_FINISH_DESC") %&gt;&lt;/TD&gt;
      &lt;TD style="width=20%" style="font-size: 12pt" align="center"&gt;&amp;nbsp; &lt;% = RS("ROLL_DIAMETER") %&gt;&lt;/TD&gt;
      &lt;TD style="width=20%" style="font-size: 12pt" align="center"&gt;&amp;nbsp; &lt;% = RS("ROLL_CROWN") %&gt;&lt;/TD&gt;
      &lt;TD style="width=10%" style="font-size: 12pt" align="center"&gt;&amp;nbsp; &lt;% = RS("ROLL_LOCKOUT_YN") %&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;%
  
          RS.MoveNext()
          Loop        
      end if
  %&gt;
  </code></pre>