Middle record in a form

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

Is it possible to somehow jump to the approximate middle record on a form
via code?

Thanks

Regards
 
Just a guess, but if you dim a variable and set it = to the form's
recordsetclone.recordcount then divide that recordcount in half. You could
then loop through half of them, find the record's ID then move to that
record. Seems like a lot of work though.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
John said:
Hi

Is it possible to somehow jump to the approximate middle record on a form
via code?

Thanks

Regards
It could be done in code. If the form has navigation buttons, you can
enter the record number to jump to. If the record is 1 of 10 records,
you can enter 5 and go to the 5th record.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top