I don t indrerstand how it works

I have been suffering for more than 3 hours and cannot make an addition to the database
So I have a popup menu in which there are 3 repeating groups, each is responsible for displaying the output of a separate type of sheet from the database, I need to put a condition on the button so that it creates a separate cell in the database where it would pull up data from these 3 repeating groups at the same time