Hi I have the folowing code and want the TR too have different colors depending on a field in the Data object.
I.e the DAO has one field COLOR and should be used in the table... but How do I do It?????
<TABLE border=3 dataSrc=#AFH2>
<THEAD>
<TR style="FONT-WEIGHT: bold">
<TD width=200>ID</TD>
<TD width=200>Version</TD>
<TD width=200>Status</TD>
<TD width=200>Date</TD>
<TD width=200>Tester</TD></TR>
</THEAD>
<TBODY>
<TR>
<TD width=200><DIV dataFld=ID></DIV></TD>
<TD width=200><DIV dataFld=Version></DIV></TD>
<TD width=200><DIV dataFld=Status></DIV></TD>
<TD width=200><DIV dataFld=Date></DIV></TD>
<TD width=200><DIV dataFld=Tester></DIV></TD>
</TR>
</TBODY>
</TABLE>
//Kalle
I.e the DAO has one field COLOR and should be used in the table... but How do I do It?????
<TABLE border=3 dataSrc=#AFH2>
<THEAD>
<TR style="FONT-WEIGHT: bold">
<TD width=200>ID</TD>
<TD width=200>Version</TD>
<TD width=200>Status</TD>
<TD width=200>Date</TD>
<TD width=200>Tester</TD></TR>
</THEAD>
<TBODY>
<TR>
<TD width=200><DIV dataFld=ID></DIV></TD>
<TD width=200><DIV dataFld=Version></DIV></TD>
<TD width=200><DIV dataFld=Status></DIV></TD>
<TD width=200><DIV dataFld=Date></DIV></TD>
<TD width=200><DIV dataFld=Tester></DIV></TD>
</TR>
</TBODY>
</TABLE>
//Kalle