473,472 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Auto Scroll List Box Access 2000 VBA

11 New Member
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.Selected(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.
Nov 5 '08 #1
2 3266
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi. Sorry to say I reckon this one is a problem with A2000's implementation of listboxes, as using the listbox Select method in A2003 consistently brings the relevant listbox entry into view within the listbox itself. Wish I could suggest a workround for it...

-Stewart
Nov 7 '08 #2
SonOf27
11 New Member
Many thanks, I did not think there was a way of doing this. I have currently set the multi select to none which helps it to keep the current selection in view, however I would really like the users to be able to select multiple things at once. Oh well perhaps one day this company I work for will upgrade it's office suite, hellooo it is almost 2009 now.
Nov 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Corepaul | last post by:
I am new to Access 2000. My operating system is Windows 2000. In the early stage of development I noticed something weird. On my form, I have a Command Button named "btnAlbumUp". The first time...
12
by: Scott Simonson | last post by:
Does anyone have any idea why Access's module editor doesn't scroll with the mouse. I noticed this behavor in Access 2k also. While viewing code in a module (or any thing for that matter) the wheel...
1
by: Otie | last post by:
Can this be fixed? I have a combo box which is filled with lots of choices on a certain form. I click on the combo box and want to scroll down through the items using my mouse's scroll wheel....
1
by: Marcin | last post by:
Im using MS Access 2000. i have a main form and ona subform that is scrolled vertically. unfortunately i use mouse scroll to scroll this subform. I appreciate your help
9
by: Beowulf | last post by:
I was having this problem: http://groups.google.com/group/microsoft.public.sqlserver.server/msg/e36e423972323378?dmode=source with it taking an inordinate amount of time to enumerate the...
5
by: joshua.nicholes | last post by:
I have an access database that consists of two tables.A data collection table and a species list table. The data collection table has about 1500 records in it and the species list has about 600....
3
by: zazu | last post by:
We have a database that can be accessed by a small number of users on a small network. The database is on the server. One form has a combo box with a large number of selections. Usually there is a...
1
by: pravinnweb | last post by:
can anyone tell me how to set auto height to outer div that is in green box id "gray-background" it should increase relatively to inner div "smbox" here is the css and html code it should work in...
3
vavc1980
by: vavc1980 | last post by:
Hello, I have a form in Access that imports some information from Excel and text files. I'm displaying the progress in an editbox, one detail in each line, however, if the content of the editbox...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.