guineamation
Programmer
Hi all, i have a small error '80020009' problem.
searched the net, got a few ideas non of the worked.
i'm getting the error when retreivig data from record set.
it works fine until some point in the middle, then gives the error and continu.... wierd!
tried while, do while and do until... nothing
ideas someone?
....
r.open "SELECT NAME,FULLNAME,TYPE,FORMAT,REMARKS FROM machina WHERE SIZE='TOOLS' ORDER BY GROUP, FORMAT, NAME ASC;"
While Not r.EOF
newType = r.fields("type")
%>
<center>
<table border="1" width="100%" bgcolor="#C0C0C0">
<tr>
<td colspan=5><b><font size=2 face=Arial color=white><%=r.fields("type")%></b> </td>
</tr>
<tr width=100% align=left bgcolor=#002D40>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>NAME</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>FULLNAME</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>TYPE</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>FORMAT</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>DESCRIPTION</th>
</tr>
<%
Do Until (r.fields("type") <> newType) Or (r.EOF) '////////Line 127 !!!!!!!!!!!!
%>
<tr>
<td valign=top align=left><font size=1 face=Arial><a href=../indexes/desc.asp?p=<%=r.fields("name")%>><%=r.fields("name")%></a> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("fullname")%> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("type")%> </td>
<td valign=top align=left><font size=1 face=Arial color=red><%=r.fields("format")%> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("remarks")%> </td>
</tr>
<%
r.moveNext
Loop
WEnd
%>
</table>
<%
searched the net, got a few ideas non of the worked.
i'm getting the error when retreivig data from record set.
it works fine until some point in the middle, then gives the error and continu.... wierd!
tried while, do while and do until... nothing
ideas someone?
....
r.open "SELECT NAME,FULLNAME,TYPE,FORMAT,REMARKS FROM machina WHERE SIZE='TOOLS' ORDER BY GROUP, FORMAT, NAME ASC;"
While Not r.EOF
newType = r.fields("type")
%>
<center>
<table border="1" width="100%" bgcolor="#C0C0C0">
<tr>
<td colspan=5><b><font size=2 face=Arial color=white><%=r.fields("type")%></b> </td>
</tr>
<tr width=100% align=left bgcolor=#002D40>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>NAME</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>FULLNAME</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>TYPE</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>FORMAT</th>
<th bgcolor=#002D40 align=left><font color=white face=Arial size=2>DESCRIPTION</th>
</tr>
<%
Do Until (r.fields("type") <> newType) Or (r.EOF) '////////Line 127 !!!!!!!!!!!!
%>
<tr>
<td valign=top align=left><font size=1 face=Arial><a href=../indexes/desc.asp?p=<%=r.fields("name")%>><%=r.fields("name")%></a> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("fullname")%> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("type")%> </td>
<td valign=top align=left><font size=1 face=Arial color=red><%=r.fields("format")%> </td>
<td valign=top align=left><font size=1 face=Arial><%=r.fields("remarks")%> </td>
</tr>
<%
r.moveNext
Loop
WEnd
%>
</table>
<%