luke2012 Well-Known Member Licensed User Longtime User Mar 28, 2018 #1 Hi All, is there any solution to store the key (db primary key) and value within a spinner without using a list to store the keys? A solution could be to store the key within the value: Code: Copy spnCities.Add ("1 - Milan") 'Key and value (if the user accept this) spnCities.Add ("2 - London") 'Key and value (if the user accept this) spnCities.Add ("3 - Madrid") 'Key and value (if the user accept this) Any other way ? Thanks in advance for your reply! Last edited: Mar 28, 2018
Hi All, is there any solution to store the key (db primary key) and value within a spinner without using a list to store the keys? A solution could be to store the key within the value: Code: Copy spnCities.Add ("1 - Milan") 'Key and value (if the user accept this) spnCities.Add ("2 - London") 'Key and value (if the user accept this) spnCities.Add ("3 - Madrid") 'Key and value (if the user accept this) Any other way ? Thanks in advance for your reply!
Erel B4X founder Staff member Licensed User Longtime User Mar 29, 2018 #2 No. Use a list or map. You can store them in the tag property. Upvote 0