Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / February 2006

Tip: Looking for answers? Try searching our database.

Middle record in a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 27 Feb 2006 02:40 GMT
Hi

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

Thanks

Regards
Arvin Meyer [MVP] - 27 Feb 2006 02:49 GMT
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

> Hi
>
[quoted text clipped - 4 lines]
>
> Regards
salad - 27 Feb 2006 05:17 GMT
> Hi
>
[quoted text clipped - 4 lines]
>
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.