W
Wart
In code I need to iterate through a Combobox's list and then select (click)
on a line. In VB6 I would use something like:
For i = 0 to CBO.ListCount -1
if CBO.List(i) = SomeValue then
CBO.ListIndex = i
Exit For
end if
next
In Access, ListIndex is a read only property. Is there a way to get where I
want to go?
Thanks in advance.
CF
on a line. In VB6 I would use something like:
For i = 0 to CBO.ListCount -1
if CBO.List(i) = SomeValue then
CBO.ListIndex = i
Exit For
end if
next
In Access, ListIndex is a read only property. Is there a way to get where I
want to go?
Thanks in advance.
CF