Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2004
    Location
    Athens, Greece
    Posts
    39
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Repeat Region in Recordset

    Please, have a look on my page.
    I get data repeated, but horizontally.
    What do I have to do to make them appear at right angles?
    The code is

    Code:
    <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

  • #2
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    First of all, your page doesn't work.
    Second, arrange your code so I could look at it.

  • #3
    New Coder
    Join Date
    Mar 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    SSJ
    SSJ is offline
    Regular Coder
    Join Date
    Mar 2007
    Posts
    230
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by BarrMan View Post
    First of all, your page doesn't work.
    Second, arrange your code so I could look at it.
    Agree


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •