...

View Full Version : Repeat Region in Recordset



martha
03-09-2007, 08:43 AM
Please, have a look on my page (http://www.sotirioutravel.gr/prices2.asp).
I get data repeated, but horizontally.
What do I have to do to make them appear at right angles?
The code is


<tr > <% While ((Repeat1__numRows <> 0) AND (NOT air.EOF)) %> <th scope="row"><%=(air.Fields.Item("tour_name").Value)%></th> <td><%=(air.Fields.Item("lenght_id").Value)%></td> <td><%=(air.Fields.Item("price").Value)%></td> <td><%=(air.Fields.Item("pricep").Value)%></td> <td><%=(air.Fields.Item("pricem").Value)%></td> <td><%=(air.Fields.Item("depart").Value)%></td> <% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 air.MoveNext() Wend %> </tr>

Thank u in advance,
Martha

BarrMan
03-09-2007, 12:48 PM
First of all, your page doesn't work.
Second, arrange your code so I could look at it.

landslide
03-09-2007, 01:47 PM
If you do it right you can insert rows or comums into the table and then arrange your recordsets the way you want to. Save a copy because if you do it incorrect it will stop working.

SSJ
03-10-2007, 05:10 AM
First of all, your page doesn't work.
Second, arrange your code so I could look at it.
Agree



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum