I’m trying to iterate through the rows of a table. For some reason, it isn’t going over each row once it’s going over it twice. The result I expected was Julia,Madeleine,Tina,Eva
Can you post a link to your project? It shouldn’t be looping twice. Try setting app variable myNames to empty list
right before the count with
loop starts.
https://x.thunkable.com/copy/c46d21a6f6aff16dbdc18031f93f4096
it works now that I set it to an empty list, which is good, but im still not sure why that’s necessary
I’m not sure why either, to be honest. It seems like a bug that that’s required.
FWIW, I’ve had better luck creating/initializing all app variables in my Home screen (whatever is 1st to load). At a minimum, I initialize variables in the screen that shows PRIOR to when I need them.
I then, as @tatiang recommended, clear/empty any variables on screen open.
I’ve also had random issues/bugs with stored variables, so any variables I want to store now, I save to a local datasource table instead of depending on the concept of stored variables. I find the table storage to be consistent.
thanks for the advice