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 2 of 2

Thread: recordset issue

  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts

    recordset issue

    Hi all, looking for a little help.

    Below is my loop, it picks up 2 fields in my DB and works fine. The idea here is that you click the url and it shows the rest of the fields in my db in a form.

    The problem I have is the first record i.e EditID=1 is not working the URL link will not work, ID's 2 to 8 will work fine. The loop picks up the all 8 ID's and projects names but the first 1 is not working.

    Code:
    	  	<ul class="TabbedPanelsTabGroup">
             <%
    		'Do UNTIL objRS.eof
    		if not objRS.eof then 
    		Do While not objRS.EOF
    		%>
            <li class="TabbedPanelsTab" tabindex=""><a href="?EditID=<%=objRS("ID")%>"><%=objRS("studies_project_name")%></a></li>
    		<%
    		objRS.movenext
    		LOOP
    		else 
            response.write "No matches." 
    	    end if 
    		%>  
           </ul>
    Any idea why?
    Kind regards,
    Mike Hughes

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    Just worked out that this is not ASP issue. Its got something to do with the TabbedPanels widget..

    m
    Kind regards,
    Mike Hughes


  •  

    Posting Permissions

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