• Post Reply Bookmark Topic Watch Topic
  • New Topic

Database Scrolling Button

 
Saakshi Dikshit
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have jFrame where I have to display data from database on button click. There are 4 buttons, first to display the first record in database, last to display the last record in database, next to display the next record and previous to display the previous record. I have done first and last record but what should I do to display the next and previous record.
 
Claude Moore
Ranch Hand
Posts: 832
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, what are you exactly asking for ? If you succeed in working with first two scenarios, I think that you're nearly done with the last two of them. It should just be matter
to fetch, given a certain ORDER BY criterion, the n-th record.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!