query

good, I have a question and a problem, I first want to see how I can identify a selected value in combobox, it is desir, if I have a like box “One / Two / Three” as I can identify the user select one of the three, and also wanted to help me with this algorithm:

i = 1 while i <4 if cash (i) = searches Then
mostrador.text = (“name:” + name (i) + jump + “name:” + name (i) + jump + “ballot” + ci (i) + jump + “birth date” + a (i) + “/” + m (i) + ‘/’ + d (i) + jump + "description: “+ descrip (i) + jump +” number: “+ num (i) + jump +” age: "+ ee (i))
end if
i = i + 1
wend
the algorithm works well but gives gives me a problem with the “if I told (i) = looking then” when executing a part of the program required, thanks for reading, I hope you can help me,
I am using a translator for if they see a typo

Jose the translation is terrible. I’m guessing from your name that you speak spanish, so perhaps you should post your question in the spanish speaking forum https://forum.xojo.com/conversations/espanol.