Hi,
I`m using a B4xComboBox for a list of years of birth (1940 to 2023), but the I try (user_details.age contains an int '1970')
I`m getting back a -1, not found. I have also tried it with a string instead of integer and get the same issue.
Any advice would be appreciated.
James
I`m using a B4xComboBox for a list of years of birth (1940 to 2023), but the I try (user_details.age contains an int '1970')
B4X:
user_age.SelectedIndex = user_age.IndexOf(Starter.User_Details.Age)
I`m getting back a -1, not found. I have also tried it with a string instead of integer and get the same issue.
Any advice would be appreciated.
James