Here we go fellas
I did not want to paste my tables here because it would be too long, I simply (if possible) need to know how to loop within an already looped table.
Being a rookie at ASP programming, I'm probably approaching this the wrong way, but for now is the only way I know.
HERE WE GO FELLAS
Here are my tables: (I hope you understand)
Table 1
sql = "Select * from entries order by timedorderd"
Dim RSentries
set RSentries=server.createobject("ADODB.recordset"
RSentries.open sql, "DSN=mydb1"
<%
Do While Not RSentries.EOF
%>
<td width="87"><font size="2" color="#000080">
<p align="left"></font><font size="2" color="#0000FF"><
<%=RSentries("dateordered"
%></font></td>
<center>
<td width="288"><font size="2" color="#000080">
<%=RSentries("client"
%></font></td>
<td width="420"><font size="2" color="#000080">
<%=RSentries("address"
%></font></td>
<td width="106"><font size="2" color="#000080">
<%=RSentries("salesperson"
%></font></td>
<td width="84" bgcolor="#FFFFCC" align="center"><font size="1" color="#000080">
<%=RSentries("timeordered"
%></font></td>
<td width="80" bgcolor="#CCFFFF" align="center"><font size="1" color="#000080">
<%=RSentries("dateneeded"
%></font></td>
***** Notice that my Loop for "RSentries.MoveNext"*********
is not here but at the very bottom of the code.
This table is then submitted. Now, when the user updates this table (by entering "Date shipped" and\or "Canceled"
. I'm simply displaying the same entered data from my database, but this time I've added new display fields (Date Shipped\Canceled) to the page. and need to loop those fields within the above table.
Table 2
sql2 = "Select * from updates order by dateneeded"
Dim RSentries2
set RSentries2=server.createobject("ADODB.recordset"
RSentries2.open sql2, "DSN=updates"
<%
Do While Not RSentries2.EOF
%>
</center>
<td width="61" align="center"><font size="2" color="#000080"><p align="left"><%=RSentries2("dateshipped"
%></font></td>
<center>
<center>
<td width="80" bgcolor="#CCFFFF" align="center"><font size="1" color="#000080"><%=RSentries2("canceled"
%></font></td>
<%
RSentries2.MoveNext
LOOP
%>
<%
RSentries.MoveNext
LOOP
%>
QUOTE OF THE DAY
The only ideas that will work for you are the ones you put to work.
<%
Jr Clown
)
%>