How to set a count variable and increment that count in a repeat in Server Connect

I think this is highly likely because I am doing some stupid :D. But I cant figure out why this variable is not incrementing.

I have the following Server Connect:

However it only ever outputs 1 (the initial value 0 + 1). I assume this is to do with scope but becuase I have set the value out side of the repeat I assumed this would access it within that scope?

Any help would be appreciated thank you.

Ah just looking back at that image in a different page has given me the clue! I needed to set the global name to count!

image

Not sure if you want me to delete this or keep it it just incase anyone else is as blind as me!

3 Likes

I'm pleased this was kept, this solution has just bailed me out - thank you kind Sir...

1 Like