Forums
This topic is locked
Reapeting region help
Posted 06 Apr 2003 20:21:35
1
has voted
06 Apr 2003 20:21:35 Greg LeBreck posted:
Here's the issue.. I place a tabl on the page, select the cell in it and add repeating reagion. then I drag over the data I want from my recordset. Now it works, but the repeating region repeats from left to right. I would like it to o from top to bottom. Any idea what I'm doing wrong? Replies
Replied 07 Apr 2003 00:43:50
07 Apr 2003 00:43:50 Owen Eastwick replied:
You probably have the repeat around the <td> tag instead of the <tr> tag.
You have this:
<% REPEAT CODE %>
<td><%= rsName.Fields.Item("SomeField"
.Value %></td>
<% REPEAT CODE END %>
You want this:
<% REPEAT CODE %>
<tr>
<td><%= rsName.Fields.Item("SomeField"
.Value %></td>
</tr>
<% REPEAT CODE END %>
Regards
Owen.
-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only): www.tdsf.co.uk/tdsfdemo/Shop.htm
Developer services and tutorials: www.drdev.net
Multiple Parameter UD4 / Access 2000 Search Tutorial: www.tdsf.co.uk/tdsfdemo/
You have this:
<% REPEAT CODE %>
<td><%= rsName.Fields.Item("SomeField"

<% REPEAT CODE END %>
You want this:
<% REPEAT CODE %>
<tr>
<td><%= rsName.Fields.Item("SomeField"

</tr>
<% REPEAT CODE END %>
Regards
Owen.
-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only): www.tdsf.co.uk/tdsfdemo/Shop.htm
Developer services and tutorials: www.drdev.net
Multiple Parameter UD4 / Access 2000 Search Tutorial: www.tdsf.co.uk/tdsfdemo/