And why are you going to make me so much? Thank you very much.
When screen initialise, i used label to show Either values present or not(no need for you)
When Save button clicked , I want to store values as a continuous lost so global variable used. After entering text and clicked save button, if values present already then new values will added to the list.
When calc button clicked, I checked length of the list. Since we are going to add last two entries I taken only last two digits for the sum.
Also if calc button clicked and if the global list contain more than 2 then the first value will be removed so continuously only last two input will be alive
I didnāt get your point?
I said that I am considerate
Any Error?? Try in companion mode. After saving a value just refresh and enter value again and save then cal button will become visible and cal it
Itās work butā¦ I want the entered values to be combined with value in Label1
Or another case,Plus all the values entered in the TinyDB together.
Ok, let me remodify it. But I didnāt get your logic.
This is not a big issue
Thx , Iām sorry I canāt explain and english language problems
I want to be good like you
Here is the block for this method
It will sum all the values stored in the listā¦
according tho this only, i hope, i gave the blocks earlierā¦(Method1 click button)
Label will display all the stored value, in that i sum the values of entered value along with the last value from the stored value. Why mean, if user clicks save, the list will start to store all the in a list.
Ok try this,ā¦ The below picture will
- save the value
- Method1 will add the last value from the stored list along with entered value of the table
- Method 2 will sum all the stored values in the tinyDB list
Hit solution, if it solves. If not, mention your query again let me try to solve it
Itās not working . why Label3 = 0 all over
I will try
Itās workā¦
I have used Label1 & 2 to cross check and it is no need i think
method1 , Why is it for you?