# Can't work with different screens

**URL:** https://community.thunkable.com/t/cant-work-with-different-screens/2607503
**Category:** Questions about Thunkable X
**Tags:** beginner, help
**Created:** [September 21, 2023, 9:34pm UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503 "2023-09-21T21:34:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![klugpufff](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/klugpufff/32/161506_2.png) [@klugpufff](https://community.thunkable.com/u/klugpufff)
#### Post date: [September 21, 2023, 9:34pm UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503/1 "2023-09-21T21:34:42Z")

</div>

Hi!

My programming works in the first screen I’m working on, but if I add a new screen (which will have almost the same programming) none of them loads the content. Is the repetition in the programming a problem or is there some other thing going wrong? Could somebody help me with that?

Screen 1

 ![screen1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7d24d457bcab08ee25d54cabe9607aed564b1291.png)

Screen 2

 ![screen2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8cd1ce2f245dbff3379dbcca4b5ce616e0ec48b8.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [September 21, 2023, 10:32pm UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503/2 "2023-09-21T22:32:40Z")

</div>

Variables should only be initialized on a **single screen**. Do not use duplicate names (“id”) for a variable on more than one screen.

The right way to use variables is to initialize them on one screen and then refer to them (set/get values) on other screens.

---

<div class="post-metadata">

### Author: ![klugpufff](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/klugpufff/32/161506_2.png) [@klugpufff](https://community.thunkable.com/u/klugpufff)
#### Post date: [September 21, 2023, 11:42pm UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503/3 "2023-09-21T23:42:01Z")

</div>

I think I understand, but in this case I need to set two different variables and each of them is only supposed to generate content on each specific screen. I mean, the variable of the first screen is supposed to get information one data source and the variable on the second screen on another data source and those infos are only relevant to one screen, not for both.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [September 22, 2023, 12:41am UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503/4 "2023-09-22T00:41:24Z")

</div>

Then you need to give the variables different names.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [December 21, 2023, 12:42am UTC](https://community.thunkable.com/t/cant-work-with-different-screens/2607503/5 "2023-12-21T00:42:07Z")

</div>

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