Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MoveNext Question

Status
Not open for further replies.

ralphtrent

Programmer
Jun 2, 2003
958
0
0
US
Hello
I would like to create an asp app that will allow me to go through a database one record at a time and populate the data on a form. I have the form built and it is populating the form with the first record. How to do i get it to move next using the MoveNext function. I have created a button that calls a function that just does an objRs.movenext, but nothing happens.

Any help is appreciated.

Thanks
Ralph
 
MoveNext only works on the server when you are looping thru a resultset...

if you are populating a form you'd need to sumbit something back(ie some value that ids the current record and defines how the next record is to be identified) to the server to requery the db and retreive the next record


Bastien

Cat, the other other white meat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top