How to subtract data from a table?

thanks, how can I apply this to Table View?

image

image

not quite working out here is my demo file
ttaaaa.aia (28.7 KB)

Show your blocks (you have Kodular specific components in your project)

не совсем получается вот мой демонстрационный файл
ttaaaa.aia (28,7 КБ)

Uploading: blocks (1).png…
blocks

Try this example aia. I prefer to use \n instead of ; as Row Delimeter in table

image

Delete_table.aia (21.3 KB)

1 Like

1 Like

thank you for helping me, but how to make it read constantly when you press the button

This is just an example. Study code, modify your table’s structure if needed and finally modify code to your needs

Those are the blocks I used. I used two variables for tables data instead of one as you do

blocks(230)

blocks(231)

blocks(232)

blocks(234)

yes, but my data gets into the table from tiny DB

thanks i will learn to stay

No need to post your blocks, I have your aia. Modify the way you store data to tinyDB

Here it is… Test this aia and let me know…

Since Tabl2 have big number i have subtractedt1 value from t2

jg_1.aia (30.1 KB)

you need to change the index ion this block alone

Is this working for you??? @Andrei_Anatol

Or this

ttaaaa_1.aia (26.7 KB)

yes, almost what I want, but if you press the button again, the amount is not subtracted

You want again again Is it need to subtract??