Summary

tk.unlimited

Active member
Joined
Apr 2, 2005
Messages
27
Programming Experience
1-3
Any ideas how to display a summary of products that are in a listbox, showing how many times it was ordered?
E.G

PRODUCT QTY
Fish 5
Cat 2
Fish 1
Dog 2
=====================
Fish 6
 
Hi,
probably the best would be
PHP:
Expand Collapse Copy
ListBox1.FindString(srchWord)
or
PHP:
Expand Collapse Copy
ListBox1.FindStringExact(srchWord)
method/s

but you'll have to put in loop increasing index for 1 (+=1) and that's the way how you'll know how many items match certain string ...

Cheers ;)
 
Back
Top