Hi

I have done the following code for a page and its duplicated for 10 question sets.

It works on questions 2-9 but for some reason it will not work for the first one.  Can 
anyone help me with this?

Here is the code

-----------------------------------start---------------------------

<tr>
<% If (report.Fields.Item("a1").Value)="A: Far exceeds job requirements" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>A: 
Far exceeds job requirements</strong></font></div></td>
                    <td><b><font size="2" color="blue">
<input name="p1" type="text" value="90" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="B: Exceeds job requirements" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>B: 
Exceeds job requirements</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="75" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="C+: Requires slightly less than average 
amount of " Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>C+: 
Requires slightly less than average amount of </strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="65" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="C: Meets job requirements" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>C: 
Meets job requirements</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="55" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="C-: Performance barely meets the basic 
requirements" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>C-: 
Performance barely meets the basic requirements</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="47" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="D: Needs some improvement" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>D: 
Needs some improvement</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="35" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="E: Does not meet minimum requirements" 
Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>E: 
Does not meet minimum requirements</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="20" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% Else If (report.Fields.Item("a1").Value)="T: Unproved" Then %>
                    <td><div align="center"><font color="#663366" size="1"><strong>T: 
Unproved</strong></font></div></td>
                    <td><b><font size="2" color="blue"><input name="p1" type="text" 
value="0" size="3">
                      </font></b> </td>
                    <td>&nbsp;</td>
<% End If %>
<% End If %>
<% End If %>
<% End If %>
<% End If %>
<% End If %>                  
<% End If %>                  
<% End If %>

--------------------------end------------------------

TIA

Rob

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to