If Else Statement for specific row in Data List Viewer

I am creating an If Else statement which makes a variable say either N for if the Image for that row is Checkboxunchecked.png or Y is the image is Checkboxchecked.png. But the problem here is if even one of the checkbox’s in that page is left unchecked, the variable puts N for all the rows. Help Here Please.


image

You are only setting that one variable for every student. You would need to update the value in the sheet or in some sort of list.

Is there a way to keep this interaction in Thunkable only, as when I upload my actual database into this project, I would have to check the attendence of each student by hand for 100+ students in the sheet. The app is preset to set the students to already attended

There are several ways to accomplish this. I would just need to see your blocks to see what I’m working with. If you feel comfortable, I can look at your project if you share it. It’s sometimes hard to figure out what someone needs by them just explaining it.

Sure, will send the link to a copy of the project

https://x.thunkable.com/projectPage/65ff7cc9ed889a7c4fb615a4

Ok, I see what you need to do. Give me a few minutes.

When you submit the attendance it looks like the code is creating rows for all the classes. Is this correct? Do you want it to just submit the attendance of the selected class which is the empty table?

If so, this is the link to your project. It gets all the data from empty table then stores it to the PP_Sensei1 sheet.

https://x.thunkable.com/copy/0695eee0d87769ee41c1993448a37296

Ya, the class which is selected is the class which I want to save the attendence from.

Using the (in list (app variable attended )get # i) only saves the first row of data. Also please inform me if you need any other information in order to assist me (The full app is close to 15 pages). Thank you for the help.

Are you using the new project I sent you or copying my blocks from the picture?

I am able to update the attendance on this project.
https://x.thunkable.com/copy/f59da44fa9ecfa9945ccc5aadf820090

I believe I copied all the code to the main project, but it still doesnt seem to work. Could you check to see if I missed anything?

https://x.thunkable.com/projectPage/6600e4ece509630f76e3166a

image

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.