hi everyone,
there are 10 records in rs1, then there is 'Next' button, each time
click on 'Next' button, the records should movenext one record... i
have tried the following but fail, please advice, thanks...
numrec=10
i=0
Sub moveid()
If Not i=numrec Then
rs1.movenext
strid=rs1("id").value
i=i+1
End If
End Sub
<input type="submit" value="next" onclick="<% moveid %>" >
<td>
<input type="text" name="empid" size="30" value="<% response.write
strid %>">
</td>
eg. 001,002,003,004.....010 , so page onload display '001', when
click 'Next' first time then display '002' , 'Next' again
display '003' and so on...
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/