Hi guys,
I have a multi-select listbox of employees on Form A that when single-clicked or drag-selected (to select a group) - fires a loop through items sub to create a recordource for a second "detail" form B
I also get the above code to fire when I use the Up and Down arrow keys on my keyboard. What I end up with is a listbox that you can 1) Click single entries on 2) Drag across a multiple selection or 3) Use the up/down arrows on my keyboard with the end result that these actions update/requery the second Form (Form B) providing either a single record or multiple records...
The code has worked well over the last 2 years or so until I recently added code to display images of our employees...this code fires in the Current event of Form B...
What I now get is
1) Single On-Click events work fine - bringing a single candidates' details up with the correct image
2) Drag select works okay - select 10 items and 10 items are ready to scroll through on Form B - if the first record dragged over has an image - this image displays properly....
3) The problem is the up/down keys on my keyboard - what often happens is the wrong record is shown in Form B or the wrong image is shown or a combination of both...especially when you go from up to down and vice versa...
Anyone know why Key events work differently to Click events in listboxes?
Any ideas or help would be very much appreciated
Darren
I have a multi-select listbox of employees on Form A that when single-clicked or drag-selected (to select a group) - fires a loop through items sub to create a recordource for a second "detail" form B
I also get the above code to fire when I use the Up and Down arrow keys on my keyboard. What I end up with is a listbox that you can 1) Click single entries on 2) Drag across a multiple selection or 3) Use the up/down arrows on my keyboard with the end result that these actions update/requery the second Form (Form B) providing either a single record or multiple records...
The code has worked well over the last 2 years or so until I recently added code to display images of our employees...this code fires in the Current event of Form B...
What I now get is
1) Single On-Click events work fine - bringing a single candidates' details up with the correct image
2) Drag select works okay - select 10 items and 10 items are ready to scroll through on Form B - if the first record dragged over has an image - this image displays properly....
3) The problem is the up/down keys on my keyboard - what often happens is the wrong record is shown in Form B or the wrong image is shown or a combination of both...especially when you go from up to down and vice versa...
Anyone know why Key events work differently to Click events in listboxes?
Any ideas or help would be very much appreciated
Darren