tags:

views:

33

answers:

2

I am using two textboxes, one for roll number and the other for the corresponding roll number.

And I am using 4 command Buttons

  1. Move First
  2. Move Previous
  3. Move Next
  4. Move Last

When I click the Move First button I should get the first two records from database. When I click the Move Prev button I should get the previous two records from database. When I click the Move Next button I should get the next two records from database. When I click the Move Last button I should get the last two records from database.

I am using MS Access as my Back end and I don't need the coding in SQL

A: 

Not sure what you are looking for but here is a tutorial try something and post when you get stuck.

rerun
A: 

See this link. I guess you are looking for something similar. Later you can modify this code to suit your needs.

Pradeep