JonnyCav Member Jan 9, 2024 #1 Is it possible to create a number of variables automatically, lets say, based on a number of records retrieved. If the RowCount = 3 then create 3 variables, Search1, Search2, Search3 ? I've been investigating JoinStrings and suchlike but that doesn't seem to provide the solution. Any pointers would be appreciated.
Is it possible to create a number of variables automatically, lets say, based on a number of records retrieved. If the RowCount = 3 then create 3 variables, Search1, Search2, Search3 ? I've been investigating JoinStrings and suchlike but that doesn't seem to provide the solution. Any pointers would be appreciated.
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2024 #2 You should use a Map for this: https://www.b4x.com/android/forum/threads/map-collection-the-most-useful-collection.60304/#content Upvote 0
You should use a Map for this: https://www.b4x.com/android/forum/threads/map-collection-the-most-useful-collection.60304/#content