I'm trying to create an application that searches the data contained in a dataset and displays matches in a listbox.
My data is contained in an XML file. Each item contains a name attribute and category attribute (plus others, but those two need to be searchable). An XML connector imports the data and passes it to a DataSet, which then populates a listbox with the name of each item. All of this works.
My two search options are a ComboBox that shows a list of categories, and a text field where users can type their search. I've tried using dataSet.find() to search these boxes, but I'm missing some part of the equation somewhere. This is the code I've been playing with for the search box (in it's current version, I've gone through several):