# Can't get my app to count or write to a data table

**URL:** <https://community.thunkable.com/t/cant-get-my-app-to-count-or-write-to-a-data-table/3975017>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [July 6, 2025, 2:29pm UTC](https://community.thunkable.com/t/cant-get-my-app-to-count-or-write-to-a-data-table/3975017 "2025-07-06T14:29:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavin.boyterah6ju4](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gavin.boyterah6ju4](https://community.thunkable.com/u/gavin.boyterah6ju4)\
**Post date:** [July 6, 2025, 2:29pm UTC](https://community.thunkable.com/t/cant-get-my-app-to-count-or-write-to-a-data-table/3975017/1 "2025-07-06T14:29:45Z")

</div>

Hi - I’ve struggled for four days with this and I seem no clearer to getting it to work. I’m trying to create a logical flow where the app looks up a data table, separates out items (Texts) by username (into 2 lists: created by the user and created by other users), then orders each in reverse chronological order before amalgamating them into a final list and then uploading these reordered rows into a new data table (Session Display Texts).

The end result should be a source I can use for the data viewer grid on another screen to show the users created items (most recent first) followed by everyone else’s (also most recent first).

After half a week of struggle I’m no closer to success. My problems:

1. Although the app now recognises 15 rows in my data table (correct) it then separates them into 2 from the current user and 2 from all other users). What happened to the other 11??
2. It doesn’t write anything to Session Display Texts so I can’t see if the final list (the variable Final TextList) has anything in it at all.
3. Further I can’t even devise a debugger to check what, if anything, is being written into each variable.
4. I’m pulling my hair out here. I can confirm that there’s nothing wrong with my data table (I think).  
Any help or advice gratefully received.

Here’s a screenshot (I can’t find an option to embed on the community):

[![](https://res.cloudinary.com/drerw0dgn/image/upload/v1751811939/Whole_Screen_Upper_jprhfs.png) ](https://res.cloudinary.com/drerw0dgn/image/upload/v1751811939/Whole_Screen_Upper_jprhfs.png)

Thanks all!

Gavin.

---

<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:** [October 4, 2025, 2:30pm UTC](https://community.thunkable.com/t/cant-get-my-app-to-count-or-write-to-a-data-table/3975017/2 "2025-10-04T14:30:35Z")

</div>

Closed on October 4, 2025, 2:30pm UTC

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