I just test the sample ComboSearchBox, and try to do something like this:
Code: Select all
aCountries: = myList ()
Asort (aCountries)
FUNCTION myList ()
LOCAL aList: = ()
USE catpisa
// Go Top
WHILE! EOF ()
AADD (aList, catpisa-> name)
SKIP
ENDDO
RETURN ready
The question is if I'm doing something wrong, my little example of code needs to be changed?., If so, how?, please?, Can someone help me?.
BTW, when you choose a list item and the item is placed in the textbox, if you write anything (I mean, selected item + writing something else), does not display the list again (I mean not validated again ), And this may be a problem because then the element in the textbox, then does NOT exist in the list.
Please I await your comments.
Thanks
Best regards
Javier