issues filtering and displaying a collection in a repeater

Looking further into this, I believe that the issue is that I’ve changed the repeater items but this hasn’t been written back to the database. Then, when I filter the database, the values of TRUE have not been saved. If this is correct, could someone please tell me how to do this as I cannot work it out!

I think I need to update the database with the repeater values but can’t work out how to do this after I’ve made all the chnages in the repeater?!?!