How to keep updating screen with an Airtable column until column is empty?

Hello!

For my app, my dataset is the following:

  • Each row represents one recipe

  • Each column represents the details of that recipe - the steps of the recipe are in column D onwards

I want each screen to be one step of the recipe, and I know that it doesn’t make sense to create tens of screens but rather keep updating the info of the same screen with the dataset. I’ve figured how to do this, but only if I explicitly state the name of the column.

To make this more efficient and scalable, what can I do so that:

  1. The next screen is always pulling the data from the next column (so current column + 1 over and over again)

  2. It keeps on updating the next screen until it encounters a column that is blank, since different recipes will have a different number of steps (and therefore columns)

It seems like a while loop of pulling the current column + 1, until the column is empty. But I’m having trouble sorting this out in the Thunkable blocks.

1 Like

Because the number of steps will vary from recipe to recipe, you might consider a firebase JSON data source. It can be a little tricky to understand initially, but it will make you app so much simpler

Thank you so much for that advice! I will start look into switching to a Firebase JSON datasource asap.

try timer and set the timer miliseconds 1 so it will check each 1 millisecond