Litbox problem

Trinb37

Registered User.
Local time
Today, 08:11
Joined
Oct 9, 2003
Messages
23
Hi,
I want to develop this code to select and move the selection in a list box one at a time. Is there anyone out there who can help me with this? This is the code that I am working one:

Private Sub
Command5_Click()
With Me!lstClientSelect
For x = 0 To .ListCount - 1
Code for selecting next line should go here
Next x
End With
End Sub

I want to be able to click one button outside the list and the line move up then click down and the selection moves down.
I am trying to make two buttons. Can anyone help me please?
Thank you in advance.

James
 
First, what is the rowsource of your listbox? To be able to move things around inside a listbox, there's got to be some type of "ranking" assigned to each row so that Access will know which item comes first, or second, etc...
 
Thank you very much for your help;)
James
 

Users who are viewing this thread

Back
Top Bottom