I'm looking for some way to use VBA in Access 2000 to scroll my list boxes so the selected record is in view.
I am running a process that updates some fields shown on the list after a user has selected some records. It updates, refreshes the list then selects the next record on the list.
Unfortunatly when you re-query a list the top records are displayed. Simply selecting the record using something like Me.lstSuspend.S elected(varList + 1) = True correctly selects the record but does not bring it into view.
TopIndex does not work and I have been unable to find any other solution. I'm reluctant to use some sort of setfocus and send keys combination.
Any help yould be appreciated.
I am running a process that updates some fields shown on the list after a user has selected some records. It updates, refreshes the list then selects the next record on the list.
Unfortunatly when you re-query a list the top records are displayed. Simply selecting the record using something like Me.lstSuspend.S elected(varList + 1) = True correctly selects the record but does not bring it into view.
TopIndex does not work and I have been unable to find any other solution. I'm reluctant to use some sort of setfocus and send keys combination.
Any help yould be appreciated.
Comment