rleiman Well-Known Member Licensed User Longtime User Sep 12, 2014 #1 Hi Everyone, I used KeyValues to store several keys with PutSimple1(). I would like to know how to find out what that total number of stored keys is. Thanks.
Hi Everyone, I used KeyValues to store several keys with PutSimple1(). I would like to know how to find out what that total number of stored keys is. Thanks.
LucaMs Expert Licensed User Longtime User Sep 12, 2014 #2 KVStore.ListKeys.Size But I have to check: it returns the number of all keys, which include all types of data, including bitmaps Upvote 0
KVStore.ListKeys.Size But I have to check: it returns the number of all keys, which include all types of data, including bitmaps
S sorex Expert Licensed User Longtime User Sep 12, 2014 #3 never used the key stuff myself but you might try this type you keystorename and the . and see if there is something like count, lenght, size available. Upvote 0
never used the key stuff myself but you might try this type you keystorename and the . and see if there is something like count, lenght, size available.
rleiman Well-Known Member Licensed User Longtime User Sep 12, 2014 #4 LucaMs said: KVStore.ListKeys.Size But I have to check: it returns the number of all keys, which include all types of data, including bitmaps Click to expand... Thanks everyone for your quick replies. Hi LucaMs, Thanks for the coding. It worked perfect for my app. Here's the coding I used: B4X: intTotalPresetsSaved = kvPresetsList.ListKeys.Size Upvote 0
LucaMs said: KVStore.ListKeys.Size But I have to check: it returns the number of all keys, which include all types of data, including bitmaps Click to expand... Thanks everyone for your quick replies. Hi LucaMs, Thanks for the coding. It worked perfect for my app. Here's the coding I used: B4X: intTotalPresetsSaved = kvPresetsList.ListKeys.Size