Random Number Generator-Non repeat

I am trying to make a random number generator which starts from 100 and for each time data is added it adds 1 to the number. For example: 100,101,102,103. I am also trying to save it in a database (google sheets).

What part of it is random? Can you give a couple examples of how this would work with actual values?

What is the purpose of the random numbers?

Have you searched the forums for these topics? There are examples of how to create random non-repeating numbers.

For question 1 “What part of it is random” - I mean by random as in order 100, 101, 102,103. It should not repeat whenever I open and close the app.

For example: When I open the app and enter data into this, lets say it starts of from 100.

When I open the app again I want the data to be like this
image

However my current code makes the bar reset whenever I open the app. So lets say i started and i added 2 students. Then it goes like this
image

I am making these for a student id fuctionality

I have searched the forum for these topics, but they all do notsave their data in a spreadsheet.

Numbers in order like 100, 101, and 102 are not random. They are sequential. So I think maybe you are using the wrong word to describe this.

To save a value even when you close the app, you need to use a stored variable. You can view the tutorial here: https://docs.thunkable.com/blocks/blocks/variables#stored-variables.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.