# \[Solved\] How can I See what is in a variable?

**URL:** https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [September 27, 2022, 8:46am UTC](https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712 "2022-09-27T08:46:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jacktg](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jacktg](https://community.thunkable.com/u/jacktg)
#### Post date: [September 27, 2022, 8:46am UTC](https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712/1 "2022-09-27T08:46:52Z")

</div>

Hi all,

I’m trying to create a clickable link in a list. I can already see all items in the list but I need to now make it so I see the individual record when I click. I already use variables in other programming software I use so am aware of them. One of the examples available is for the Inventory Management and it does what I need but… it uses variables (Database\_Obj and Database\_ID). I’d like to see how those variables are actually constructed. All I see in ‘Variables’ is ‘app variable Database\_Obj’. Is there a way I can see how that is constructed?

TIA

Jackmac

---

<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 27, 2022, 2:49pm UTC](https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712/2 "2022-09-27T14:49:47Z")

</div>

Thunkable is programmed in React Native so you can Google how variables are initialized in that language. But apart from that, you just initialize a variable and then give it a value to determine its type (string, integer, list, etc.).

For what you’re trying to do, generally you would use a List Viewer and use the green index block when the user clicks/taps to then retrieve a row from a data source (where index is the row #).

**Edit:** I looked at the project you mentioned from the Top Community Projects and I see you’re referring to this:

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

In that case, the Database\_Obj is just holding a row [object](https://docs.thunkable.com/objects) from the data source:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e40642ebd996815554aa7866a4aa6274736d17cc.png)

So when you get the property “Items” you’re actually getting the column with that name. The row number is determined by the value of Database\_ID.

---

<div class="post-metadata">

### Author: ![jacktg](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jacktg](https://community.thunkable.com/u/jacktg)
#### Post date: [September 28, 2022, 9:52am UTC](https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712/3 "2022-09-28T09:52:14Z")

</div>

Thank you for the pointers! I followed your guidance and also searched for a video and found the following:

[![](https://img.youtube.com/vi/w63TJ5YM3Do/maxresdefault.jpg "How to use the Data Viewer Grid Component [Snap to Place]") ](https://www.youtube.com/watch?v=w63TJ5YM3Do)

this, along with your explanation, nailed it! Thank you!!

---

<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 27, 2022, 9:52am UTC](https://community.thunkable.com/t/solved-how-can-i-see-what-is-in-a-variable/2059712/4 "2022-12-27T09:52:19Z")

</div>

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