using VB6
I am loading a database worth of stuff in a combo box. approx 150 records.
Here is one item using the Add item
MARCRAFT CORPORATION |02/14/01|1Z3670450250342860|PO-11427|00890034
which consists of Comapny name| Date | UPS tracking # | PO | Order number
Each field is separted by a Pipe Symbol
I want to find the order number "00890034 in my example" somewhere down the list in the combo box and highlite it.
I don't know which thign to use
List(x) ItemData
Is there a FAST way to find 00890034
I know I need to use
for a = 0 to combo1.Listcount
right(Combo1.???? , 8)
'maybe more code here
next
but what can I use in place of the Question marks ????
TIA
DougP, MCP
Visit my WEB site to see how Bar-codes can help you be more productive
I am loading a database worth of stuff in a combo box. approx 150 records.
Here is one item using the Add item
MARCRAFT CORPORATION |02/14/01|1Z3670450250342860|PO-11427|00890034
which consists of Comapny name| Date | UPS tracking # | PO | Order number
Each field is separted by a Pipe Symbol
I want to find the order number "00890034 in my example" somewhere down the list in the combo box and highlite it.
I don't know which thign to use
List(x) ItemData
Is there a FAST way to find 00890034
I know I need to use
for a = 0 to combo1.Listcount
right(Combo1.???? , 8)
'maybe more code here
next
but what can I use in place of the Question marks ????
TIA
DougP, MCP
Visit my WEB site to see how Bar-codes can help you be more productive