PDA

View Full Version : [SOLVED] Using two values from a list box



lifeson
02-01-2008, 09:29 AM
I have a list box where I want to use 2 values from the list box
the first value is from the bound column (in this case the bound column id 2)
The second value is in column 3
Is there any code that allows you to use 2 values from the same row from a list box

e.g
entityID = lstQuotes.value (the bound column)
resourceID = lstQuotes.bound column + 1.value? :dunno

Seem to be striuggling getting answers this week
Hope you can help.

Bob Phillips
02-01-2008, 10:00 AM
entityID = lstQuotes.Value
resourceID = lstQuotes.List(lstQuotes.ListIndex, 1)

lifeson
02-01-2008, 10:38 AM
Thanks XLD
I thought I had tried every list control option :(
except that one obviously :whistle:

Thanks again.