List Box Indexes

ASherbuck

Registered User.
Local time
Today, 04:23
Joined
Feb 25, 2008
Messages
194
Afternoon,

I've got a search form that brings its results up in a list box located on the form.

I have 3 image controls on the form and I would like the image controls to Display the images linked to the top 3 results in the list box.

I've gotten an image control to display the image of the selected record in the box but I would like to show the top 3 without any items having to be selected.

I've dug around and found where others were using the Listbox.Selected(#) to check if a selection was made where # = the record index in the listbox. I just don't know how to tell Access "ImgResult1 = LstSearch.Index(0), ImgResult2 = LstSearch.Index(1), etc"

Is there a way to do this?
 
Look up ItemData in VBA Help, not Access Help.
 

Users who are viewing this thread

Back
Top Bottom