# \[Solved\] Advice about our Quiz app

**URL:** <https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [February 19, 2020, 2:33am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620 "2020-02-19T02:33:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 2:33am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/1 "2020-02-19T02:33:59Z")

</div>

Hi

So the kids are building a quiz app for a competition.

App is going to have 4 different quiz… Say one for Sceince, Math, History, Reading.

They are planning to have 4 different local DB for each subject.

They have built 1 quiz with 3 screen - Start screen, Question screen and Completion screen.  
How do they copy these screens for other subjects in the same app.

Or is there any other way. TIA.

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [February 19, 2020, 2:39am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/2 "2020-02-19T02:39:54Z")

</div>

Hi,use column instead of screen.

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 2:41am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/3 "2020-02-19T02:41:00Z")

</div>

Sorry, i dont know how to do that

---

<div class="post-metadata">

**Author:** ![Tina\_Fountain](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@Tina\_Fountain](https://community.thunkable.com/u/Tina_Fountain)\
**Post date:** [February 19, 2020, 3:07am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/4 "2020-02-19T03:07:30Z")

</div>

A simple way to do this is to have use a list picker for the topics and then when a list item is chosen the index from the list can be used to select which data store to use. That way you only need one screen for the quiz. It is also possible to filter by topic number or name but that is a little more complex.

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [February 19, 2020, 3:13am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/5 "2020-02-19T03:13:39Z")

</div>

**Refering to the title**  
Start with a new screen,then drag a column inside the screen.Put your components into your column.(column is able to duplicate)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 19, 2020, 3:14am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/6 "2020-02-19T03:14:30Z")

</div>

> [@jeyseny](#):
>
> oing to have 4 different quiz… Say one for Sceince, Math, History, Reading.
> 
> They are planning to have 4 different local DB for each subject.
> 
> They have built 1 quiz with 3 screen - Start screen, Qu

Hey @jeyseny

[here](https://x.thunkable.com/copy/507ca3e57b0eeebbf29a70d32025cd26) is a copy of my quiz app that i have played around with. it’s been on the backburner for a while but hopefully you’ll find it helpful.

it will demonstrate, a way to have multiple quizzes with only a few screens. it also includes autographing of performance at the end if you hookup an airtable database.

 ![Screen Shot 2020-02-18 at 10.05.00 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/c/1c45ba0cdad2933d605d26201a7a761821856db3.png)

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 4:25am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/7 "2020-02-19T04:25:01Z")

</div>

Thanks. This is helpful. Basically we should be using a variable to select the dataset and repeat the blocks.

I was thinking if we could pass the data set name as variable, that ould be easier? so there is no option for that?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 19, 2020, 4:26am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/8 "2020-02-19T04:26:07Z")

</div>

ofcourse!

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 19, 2020, 4:48am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/9 "2020-02-19T04:48:23Z")

</div>

Hey, @jeyseny! 👋

> [@jeyseny](#):
>
> I was thinking if we could pass the data set name as variable

Do you mean to _pass a value from 1 screen to next?_

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 1:53pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/10 "2020-02-19T13:53:00Z")

</div>

No, selecting the database name dynamically based on the variable instead of repeating the block. But looks like it is not an option. Database name can be selected only from dropdown.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 19, 2020, 2:27pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/11 "2020-02-19T14:27:02Z")

</div>

Hi, @jeyseny! 👋

Yes, it’s possible.

* * *

## Method #1

- I tried setting a variable to database component’s name, and the variable was a string. So, you just set the variable to any component’s name, (In your case, a Database component)

- And, through any component, set the database to the variable -

**Full Example -**

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f7986ed77b780c4aae0b517debfafb1d62202a77.png)

* * *

## Method #2

Send a proper component through a variable / Set the variable to proper component.

- Take the last tiny green block, and select your Database -

- Set the variable to it.

* * *

Hope I helped you! 😊  
Good Luck! 🌟

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 4:17pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/12 "2020-02-19T16:17:12Z")

</div>

OMG…Wow…This is awesome. But how are you getting the option to plug in the dbname in Spreadhseet. I dont get that option.

![db1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/3/335856e809ee51a18c5fad6219cf20acdf8c2e05.jpeg)

Also, can I use the similar tip for Local DB.

 ![db2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5ad28087a46f0a318b61d9fb90760f35f45ed122.jpeg)

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 19, 2020, 4:19pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/13 "2020-02-19T16:19:47Z")

</div>

Hi, @jeyseny! 👋

These steps might help you -

- Click the ⚙ icon
- Add a parameter named ‘db name’
- Right-click the main function, and tap ‘create db name’.
- You will get the block, then you just have to attach it accordingly.

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 4:47pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/14 "2020-02-19T16:47:57Z")

</div>

Thanks. i created it but how do i attach it to the spreadsheet block… it doesnt have option. ![db3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/52ff51f0ffe29ef47faa8aa7dfaaa121a6507b3d.jpeg)

---

<div class="post-metadata">

**Author:** ![jeyseny](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jeyseny](https://community.thunkable.com/u/jeyseny)\
**Post date:** [February 19, 2020, 8:22pm UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/15 "2020-02-19T20:22:55Z")

</div>

I didn’t realize there is component called “Any”… I found it out and my quiz worked… thank you so much!!!

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 20, 2020, 3:21am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/16 "2020-02-20T03:21:16Z")

</div>

Glad I helped you! 😊

Thanks a lot! 😊  
Happy Thunking! 🎉

---

<div class="post-metadata">

**Author:** ![Tina\_Fountain](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@Tina\_Fountain](https://community.thunkable.com/u/Tina_Fountain)\
**Post date:** [February 28, 2020, 4:04am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/17 "2020-02-28T04:04:48Z")

</div>

Can you share your working code via screen shot we are having same issue changing a table name and just cant get it working

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 28, 2020, 4:25am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/18 "2020-02-28T04:25:28Z")

</div>

@Tina_Fountain I found a more up to date example of my quiz app and wanted to share it with you. it includes auto graphing based on user progress so they can judge how well they do from time to time.

[https://x.thunkable.com/copy/f8a780aa2e3d514dcb3b3e9d39dbd5be](https://x.thunkable.com/copy/f8a780aa2e3d514dcb3b3e9d39dbd5be)

Also, to change the name of the table you want to actively reference, either use two spreadsheet components and keep them named differently. like this. This may be the better option when using airtable if you are ever worried about space constraints. They allow only up to 1200 rows per base, but allow for an unlimited number of bases.  
 ![Screen Shot 2020-02-27 at 11.15.45 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/5383ee04fbb58bbffc589c55f1a151ec634c664b.png)

but you can also just change the name of the table/base/api with these blocks

 ![Screen Shot 2020-02-27 at 11.13.15 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/5/150cf78bebab42b04801b0970af55833ef58799c.png)

---

<div class="post-metadata">

**Author:** ![Tina\_Fountain](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@Tina\_Fountain](https://community.thunkable.com/u/Tina_Fountain)\
**Post date:** [February 29, 2020, 4:48am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/19 "2020-02-29T04:48:23Z")

</div>

Thanks so much. this is great. i will spend some time today reading through it. I see your using both Airtable and local storage

---

<div class="post-metadata">

**Author:** ![krstnmrrs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krstnmrrs/32/85737_2.png) [@krstnmrrs](https://community.thunkable.com/u/krstnmrrs)\
**Post date:** [October 14, 2020, 9:59am UTC](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620/20 "2020-10-14T09:59:57Z")

</div>

Heya @jared - I am working on a new app which will have many quizzes (about 6 categories with about 100 quizzes each to start). I’d love to check your quiz example here - can you please link me to the project url? As a newb I could probably get this done with many screens but want to try and do it efficiently.

Thanks!

[Next page](https://community.thunkable.com/t/solved-advice-about-our-quiz-app/472620.md?page=2)
