Hi again
I get close my purpose ,but there are some lucks though
Focus on Activity
Filter
Sub spnLastName_ItemClick (Position As Int, Value As Object)
Dim i As Int
Dim Query1 As String
Dim Curs As Cursor
Query1 = "SELECT LastName FROM persons WHERE FirstName = '" & spnFirstName.SelectedItem & "' "
Curs = Main.SQL1.ExecQuery(Query1)
'spnLastName.Add("no filter")
For i = 0 To Curs.RowCount - 1
Curs.Position = i
spnLastName.Add(Curs.GetString("LastName"))
Next
'Curs.Close
End Sub
That is what I did. I also add my files ,
When I click on any of spinner , first time it doesn't seem in spinner.
After I chose "no filter"
I click again the same spinner and how many time that I click in. This exist same .
Hard to explaining, just chose FirstName
and LastName you will see " no filter" ,but YOu chose it, after that you click again , you will see the some changes
after third time click you will see the
twice same Last Names.
I hope I coudld intreduce myself clearly :/
can anybody help me ,please