Thank you so much for your help.
I have tried adding it to replace some of the code but I’m getting an
i is not defined on this line:
for ( i = 0 ; i < countDB ; i ++ ){
. How can I declare the i correctly?
I did try to search for it but I’m still not sure.
I’ve tried declaring i with val but i’m not sure how to correctly do it.