Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 18th, 2006, 03:32 PM
Friend of Wrox
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Table calls 2 empty rows

I've created a dynamic table pulling data from ACCESS.

My first ROW in Access has data that I want to display. However, this data shows as the 3rd row once called into the Dynamic table via Dreamweaver. Why? and How can I eliminate these two empty rows?

I can provide a screenshot of the output, if you'd like.

Here's a chunk of the code:
 ************************************************** *********

 <% While ((Repeat1__numRows <> 0) AND (NOT rsDirectory.EOF)) %>
  <tr valign="top">
    <td valign="top" align="left" class="docs"><P class="activedoc"><a href="mailto:<%=(rsDirectory.Fields.Item("Email"). Value)%>"><%=(rsDirectory.Fields.Item("First_Name" ).Value)%>&nbsp;<%=(rsDirectory.Fields.Item("Last_ Name").Value)%></A><BR>

    <td valign="top" align="left" class="docs"><P class="activedoc"><%=(rsDirectory.Fields.Item("Dep t").Value)%></P></td>
    <td valign="top" align="center" class="docs"><P class="activedoc"><%=(rsDirectory.Fields.Item("Ext ").Value)%></P></td>

  ************************************************** ****
and so on...

Your prompt resonse is greatly appreciated.
Old January 18th, 2006, 06:00 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Most likely, the database contains two empty rows?

All the repeating table does is repeat a row for each record in the database, so I would look there first...

Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Beautiful way by Beck (From the album: Midnite vultures) What's This?

Similar Threads
Thread Thread Starter Forum Replies Last Post
help writing dynamic form data to dynamic table ublend SQL Server ASP 1 June 1st, 2007 08:09 AM
help writing dynamic form data to dynamic table ublend Classic ASP Professional 1 June 1st, 2007 08:08 AM
Empty rows created in Access table ayazhoda Access VBA 7 May 10th, 2007 06:23 AM
populate details view or list view non empty rows iinfoque ASP.NET 2.0 Basics 0 March 11th, 2007 06:11 AM
Empty table for dropdownlist. macupryk BOOK: ASP.NET Website Programming Problem-Design-Solution 2 August 16th, 2004 06:33 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.