I have a form that has one section that has 8 rows on it for a user to input Section Titles and Number of Questions. They have the ability to enter some of the information, save it and return later to add more information. If, for instance, they have only entered 3 rows into this section, I want it to return the rows already entered and then return 5 blank rows for them to add more rows.
I have the first column set up to display the Section Number using a counter. This is what I have so far:
<% do while not objRs3.EOF %>
<% i = i + 1 %>
<tr>
<td>
Section <%= i %> Title:
</td>
<td>
<%= objRs3("SectionTitle") %>
</td>
<td>
Number of Questions:
</td>
<td>
<%= objRs3("Questions") %>
</td>
</tr>
<%
objRs3.movenext()
loop
%>
I'm sure I can use the counter to my advantage to get a count, and add rows until the count is 8 but I'm not sure of how to do that code.
Can anyone help me?
I have the first column set up to display the Section Number using a counter. This is what I have so far:
<% do while not objRs3.EOF %>
<% i = i + 1 %>
<tr>
<td>
Section <%= i %> Title:
</td>
<td>
<%= objRs3("SectionTitle") %>
</td>
<td>
Number of Questions:
</td>
<td>
<%= objRs3("Questions") %>
</td>
</tr>
<%
objRs3.movenext()
loop
%>
I'm sure I can use the counter to my advantage to get a count, and add rows until the count is 8 but I'm not sure of how to do that code.
Can anyone help me?