I can't find a solution to my problem. I apologize if my question seems silly. I can't find a solution.
I'm doing research for my college. I am creating the questionnaires, using the App Inventor. To load the questions, I use a CSV file. I had no trouble creating something like that.
It's a offline project, right? when I finish the interview, it will save all the data in a CSV file named "Interviews".
My problem is that I want to avoid repetition of respondents. I have a CSV file that will be loaded in the first question. You can see this file in the attached image.
This CSV file contains: the name of the course, the gender (male or female), the age groups and the total number of people to be interviewed by age group. These data will be loaded into a listview.
What I want is: if I select, for example, a male person who is between 25 and 34 years old and we have a total of 11 people of that age group to be interviewed, I would like to exclude 1 of this total.
I know that in order to do this, I would have to change the value of the cell where the total of 11 male people aged 25 to 34 is. How do I do this and how to save this modified file later?
Thank you, kind people.