How to subtract data from a table?

yes, so that it is permanently subtracted when you press the button

The operation - cannot accept the arguments: , [empty-string], [empty-string]

blocks-(1)



I still do not get what I want, I came to the conclusion that
1.My data is saved in TinyDB
2.Created in tables
I came to the conclusion that it is the tags that need to be taken away, correct me if I’m wrong

ttaaaa_2.aia (27.4 KB)

super thank you very much, only this block for some reason does not work already

Did you test my aia? In this post.

yes, but when you press the button, it takes away only once

you need to take away constantly when you press the button

Table1, 80 table 2, 300
On button click it gives you 220

You again on button click Is it need to subract 80 from 220, and the result to be 140, then 60???

Yes, I wrote so at the very beginning
dora_paz works too, but other blocks stopped working

works too, but other blocks stopped working
ttaaaa_2.aia (27.4 KB)

THIS UNIT STOPPED TO WORK IN THIS SOLUTION

No need to shout, if you have seen the code, that part was missing because I had to redesign how tinydb works. Now it should work

ttaaaa4.aia (28.3 KB)

cleared but still doesn’t count

Thanks for your work

1 Like

If it works for you then don’t forget to mark solution :white_check_mark:

and with one tinyDB it can be done?

Yes it can be done since tags are different, used two components to make it easier to understand the code.Both actually use same namespace tinyDB1 if you check properties

image

this will work too?
b

I plan to delete a certain tag in the future under a certain condition, this will work for me?