# \[Solved\] How should I replace a row on a daily basis?

**URL:** <https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [October 31, 2019, 10:12am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141 "2019-10-31T10:12:56Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [October 31, 2019, 10:12am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/1 "2019-10-31T10:12:57Z")

</div>

Hi Everyone! 👋

I am developing a app for daily homework updates for students.  
The idea is, Everyday the teacher will give HW, the student will see it. The next day, he can’t see yesterday’s hw.

For example, date is 31st October & maths hw is to memorize squares till 20. The student will see it, (on the same day) & the next day when he opens the HW menu, he sees **no homework for today.**

I have applied my mind for like half a day thinking on **blocks for this part** … But 😕…

Any ideas on this?

Thanks a lot! 😊

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 31, 2019, 10:50am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/2 "2019-10-31T10:50:35Z")

</div>

Hi,

You create an object of type homework, which add a field with the date. When the application opening date check occurs. If the date in the homework is not equal to the current - not display this homework.

The student can keep the app open all day, so need a timer to keep track of the date. Once the timer will see tomorrow - there is an inscription - no homework today.

---

<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:** [October 31, 2019, 11:30am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/3 "2019-10-31T11:30:01Z")

</div>

Thanks @actech! 😊  
I’ll try this soon 😄

---

<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:** [November 11, 2019, 11:37am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/4 "2019-11-11T11:37:57Z")

</div>

Thanks @actech for your idea! 👍

BTW, I ticked my mind more on this, and found the solution/workaround…

Thanks for your time! 😊

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 8, 2020, 8:58am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/5 "2020-05-08T08:58:30Z")

</div>

> [@kartik14](#):
>
> and found the solution/workaround…

This is a pretty frequent question @kartik14, do you mind telling us what your approach was to solving this was?

Thanks!

---

<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:** [May 8, 2020, 9:26am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/6 "2020-05-08T09:26:06Z")

</div>

Hi Domhnall,

As far as I remember, I dropped this idea of displaying day-wise homework, because student might need to see some previous homework(s)…

So what I did, is displayed the latest homework on the top by using `in list insert as 'first' as` block. I called all rows from Airtable, and added a checkpoint of ‘if homework is for my class’. So, new homework started appearing on the top, since I was adding the last item at first of the list.

Thanks! 😺

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:29am UTC](https://community.thunkable.com/t/solved-how-should-i-replace-a-row-on-a-daily-basis/297141/7 "2024-11-08T11:29:21Z")

</div>


