Hi slypunk,
I don't see any need for
.Update there within that function after recordset open is performed. You may remove that.
Also I could just see a comment saying 'loop through each contract, but there is no code used to loop through the recordset, which caused this problem for you.
This entire code should be run within a While .... Wend loop as shown below.
Code:
While NOT rs.EOF
%>
<tr>
<td align="center">
<%=rs.Fields("contno")%>
</td>
<td align="center">
<%=rs.Fields("estno")%>
</td>
<td align="center">
<%=rs.Fields("contractor")%>
</td>
<td align="center">
$<%=rs.Fields("netestamt")%>
</td>
<td align="center">
<%=rs.Fields("submittoap")%>
</td>
<td align="center">
<%=rs.Fields("checkno")%>
</td>
<td align="center">
<%=rs.Fields("checkdate")%>
</td>
</tr>
<%rs.MoveNext
WEnd
'''''NOT SURE WHAT THE REMAINING CODE DOES...
' Update temp field to current project
currContract = rs.Fields("contno")
end if
%>
<%
'check if we have read past end of file
'if not eof, get current contract no
if not rs.EOF then
nextContract=rs.Fields("contno")
else
nextContract=""
end if
%>
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection