What are you trying to achieve ? I looked at your code and I can not understand. For axample you add a list that contains text, numbers, dates in global list and then you want to sum what ?
You originally asked for a solution (in your other topic) and now you have moved on to something quite different, trying to apply the solution from the other topic which may not be appropriate.
Explain in more detail what you are trying to achieve, draw pictures if needed, then perhaps someone here can provide you with a working solution.
What is the data you are saving and why are you saving it ? - just explain what you are doing....
What is the difference between case 1 and case 2 ?
What type of data is entered in "Column 3" (give examples) ?
What type of data is entered in "Column 4" ( I understand this will be a number/integer )?
In your blocks, you are saving the value of a label to your list as well, what data is this, where is it shown ?
Why do you need to add up everything in "Column 4" ? What will you do with this value ?
Can you confirm that your four listviews are just for the display of information held in the tinydb (and for selection to allow for a record to be deleted) ?
What else will happen with this data. What parts of the app have you not yet told us about ?
Why do you need another screen ? This can all be handled on one screen....
As I previously asked, explain in more detail......
The checkbox 1 and 2 are two choices and just their labels are in the second column.
The column 3 is just text without restriction.
The column 4 is, effectly, just numbers and this is why we can't add everything in a one column.
The tinydb is for save data when the user return to the screen and for save the sum of numbers from column 4.
Like explained, the idea is to duplicate this screen and list all total entries in an indepedant screen like summary.
Why ? you already have the tinydb outputted to a set of listviews.... you could hide some parts of the existing screen to just show this....
You could use a switch component to select between case 1 and 2.
You probably need to display the date once selected (this helps to confirm it has been done, or you could display the current date if that is what is needed to reduce user input)
It would really help to understand what you are doing, this would make it much easier to provide a solution.
What are the texts in column 3 ? What are the numbers in Column 4 ? Are they repeatable items - could their selections also be in lists for the user to pick from ?
I don't have problems with the forms, in aia file, you can see they are built but I don't find how list them in columns, like a csv, save them in tinydb and do the sum of the column 4 values.
The summary screen is here to list all sums in a one screen like statistic page.
When I test in companion, I have a message from a previous test : Select list item: Attempt to get item number 3 of a list of length 2: ["test", "1209"]