This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Printing of records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Printing of records" Watch "Printing of records" New topic

Printing of records

Sehgal Amit

Joined: Dec 28, 2000
Posts: 2
How can we print 5 records retrived from the database in case of 10 or more records in database and the user should press on "next" or "prevoius" button at the bottom of the page either to go ahead or to go back.
paul sun

Joined: Dec 22, 2000
Posts: 28
It seems that CacheRowSet in Jdbc 2.0 can help if the rows are not large. Some discussion at jguru:
wood burning stoves
subject: Printing of records
Similar Threads
Getting single-threaded access to a Database
"Next" button functionality
records not showing in ResultSet
jdbc driver error v9.1.3
"Next" button functionality