rowsource is set to none, the data is loaded in from an array
>Dorris,
>
>I don't think you have to do this with the combobox. What is its rowsource and style?
>
>In most cases it's enough to try to set its value to determine if the value exists or not.
>
>>Rich
>>
>>That's what I ended up going with, but things like this have always been an issue with me and combo boxes. With all the properties that mean ALMOST the same thing - why isn't there an easy way to do the equivalent of a SEEK in a table or an ASCAN with an array?
>>
>>
>>
>>>
>>>Is this what you're looking for???
>>>FUNCTION searchcombo
>>>LPARAMETERS tcValue
>>>
>>>WITH myCombo
>>> FOR I = 1 TO .listcount
>>> IF .List[i] = tcValue
>>> RETURN I
>>> ENDIF
>>> ENDFOR
>>>ENDWITH
>>>RETURN 0
>>>
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place