I have included a spinner and a EditExt, with sql I populated the spinner with the numbers, now I want to populate the EditExt when the spinner visualize the number 1 then another text with the number 2 ... 3 ... 4
the text is found in the database.
example: select one from the spinner and EditExt capture from the database text ..... I select the number 2 from the spinner and EditExt capture another text from the database. Every number I associate it with a text written in the database.
thank you
the text is found in the database.
example: select one from the spinner and EditExt capture from the database text ..... I select the number 2 from the spinner and EditExt capture another text from the database. Every number I associate it with a text written in the database.
B4X:
.......
.......
........
If Spinner1 = 1 Then
Edittext1.Text=dbsql.ExecQuery("SELECT eco FROM tav")
End If
thank you
Last edited: