Re: multi combobox values
Can you post the code you are using to filer your list view? And populate the combo box?
I am not sure I completely understand, but it looks to me like there might be better ways to accomplish what you are trying to do . . .
Re: multi combobox values
hey thanks for helping again :)
i figured something out, so its kinds solved.
The way i did it was, i have the original combobox1.text as a string and i also split the string using .split function, both the words "western" and "europe"
then rejoined them with a "-" between, which made the new formatted string to play with, and of course the original
thanks :)
Re: multi combobox values
Well, if you solved it, congrats.
Some points to consider anyway:
Often it is the case that searches like this need some tuning to accomodate variances in data-entry and such.
A. If the listview is being populated from you OWN database (or at least, one over which you have some control) then you owe it to yourself and your users to implement some front-end validation to minimize things such as you describe (Western Europe vs. Western-Europe). Consistent data on the back side is a great first step to ease of retreival!
B. Again, I am not familiar with where the ListView Data is coming from. However, any time you end up with multiple variations on something like "Wester Europe", you might consider examining your Database structure (if you have this option . . .). It seems to me that where ever your listview data is coming from should have a table of "Regions" or whatever. Both your Combo-box filter selection and your source data could draw from that.
Anyway, good luck . . .