# Data Set row -\> writing in a memory tag

**URL:** <https://forum.inductiveautomation.com/t/data-set-row-writing-in-a-memory-tag/66308>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 9, 2022, 5:40pm UTC](https://forum.inductiveautomation.com/t/data-set-row-writing-in-a-memory-tag/66308 "2022-11-09T17:40:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christgustavoe](https://avatars.discourse-cdn.com/v4/letter/c/779978/32.png) [@christgustavoe](https://forum.inductiveautomation.com/u/christgustavoe)\
**Post date:** [November 9, 2022, 5:40pm UTC](https://forum.inductiveautomation.com/t/data-set-row-writing-in-a-memory-tag/66308/1 "2022-11-09T17:40:31Z")

</div>

Hello,

I have this Dasaset bellow and i would like to know if is possible to make this script:  
When the button of the row 11 for example was pressed -\> write true in a memory tag, else false.

Is it possible to do this kind of interation inside a tag script with onchange ?

I'm without ideas...

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/619dc4239fcaa783f2636f198c3b9552141b9fce.png)

Thanks !!

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [November 10, 2022, 3:07pm UTC](https://forum.inductiveautomation.com/t/data-set-row-writing-in-a-memory-tag/66308/2 "2022-11-10T15:07:14Z")

</div>

Yes its possible to do.

Can you show where is this dataset bind to? I only want to see the actual button. So we can write script on ActionPerformed event.

On Tag OnChange I find difficult as we would not know what rowId updated the tag.

---

<div class="post-metadata">

**Author:** ![christgustavoe](https://avatars.discourse-cdn.com/v4/letter/c/779978/32.png) [@christgustavoe](https://forum.inductiveautomation.com/u/christgustavoe)\
**Post date:** [November 10, 2022, 4:55pm UTC](https://forum.inductiveautomation.com/t/data-set-row-writing-in-a-memory-tag/66308/3 "2022-11-10T16:55:04Z")

</div>

Hello @Gaurav.Shitole,

Yesterday after some attempts i found another solution. But thanks for your reply and help !!

Really, tag onchage is difficult to execute this logic !!

Thanks !!
