Hi,
I am trying to display 25 records on a form, but I want the user to be able to page through these records in blocks of 25 (not one at a time)
I have tried using the tabular control in conjunction with a command button and incrementing through records using For Next Loop, but this still allows the user to scroll through one at a time, and I don’t think this is the way I should be approaching this.
OK:
After doing a bit more research I realise that I need to pass some values from my Form to the Query, so that the query can return the required set of records.
How do I pass a value from a command button to my query?
In addition to this I need to keep tract of the current page number (which batch of 25 records are they looking at) i.e. page 5 would be displaying records 100 – 125.
Any pointers in the right direction would be greatly appreciated,
Cheers,
Jon
I am trying to display 25 records on a form, but I want the user to be able to page through these records in blocks of 25 (not one at a time)
I have tried using the tabular control in conjunction with a command button and incrementing through records using For Next Loop, but this still allows the user to scroll through one at a time, and I don’t think this is the way I should be approaching this.

OK:
After doing a bit more research I realise that I need to pass some values from my Form to the Query, so that the query can return the required set of records.
How do I pass a value from a command button to my query?
In addition to this I need to keep tract of the current page number (which batch of 25 records are they looking at) i.e. page 5 would be displaying records 100 – 125.
Any pointers in the right direction would be greatly appreciated,
Cheers,
Jon
Last edited: