Table - adds old table readings?!

Hi All,

i have a the following data structure:

Report
└── LEV Line (multiple per Report)
└── LEV Fan (multiple per LEV Line)
└── LEV Readings (multiple per LEV Fan)

When i create a new LEV line, a pop up opens which has some info to fill out for the LEV Fan, and a table for adding readings. this starts blank, with a + button to add a new reading.

When this is filled out, i can add a new LEV Fan in this pop up, with new inputs and table under the first (using repeating group) all this works no problem.

IF i close the popup/save this data - and i want to create a new LEV Line (uses a new ID) - the pop up opens, the inputs are blank to fill (working correctly) - when i add a new LEV Reading - the first however number of lines created are autofilled with the inputted data from the first LEV Line. HOWEVER - this isnt shown in the database - it shows all the inputs as blank…

any assistance is appricated i cannot find the reason!

Screen 1 - shows the First LEV Line with LEV fan 1 (blank)

Screen 2 - shows the first LEV Line’s LEV fan’s, LEV reading..

Screen 3 - this shows the first LEV Lines second LEV fans, LEV readings (loads blank)

Screen 4 - this reading filled out

Screen 5 - this is the SECOND LEV Line (filter 2) - first LEV fan and LEV readigns not yet added

Screen 6 - if i add 2 lines - the first line automatically shows the first line from FILTER 1s LEV01 - LEV readings

Screen 7 - you can see the second LEV line from Filter 2 also has this auto fill

Screen 8 - from the database you can see there is no entries for the inputs - yet it still shows them! if i edit these lines - it will edit into the created line (doesnt change the previous line)

hope that makes sense…

Hi @parkesdude :waving_hand:

Then the issue is very likely in the way you’re structuring the “Do a search for” that generates the repeating group pulling the information related to the Lev Readings.

Could you share more details about the workflow you’re using to open this popup, as well as the expression you placed in the repeating group related to the Lev Readings?

Hi @rpetribu

the 'All Line button that starts everything:

this is the main repeating group showing each LEV LINES, LEV FANS:

then this is the table inside each LEV FANS reapting group cell - showing the readings:

Does this issue only happen when you click to add a new LEV Reading?

If you don’t add one, does the issue not appear?

Could you share that workflow?

I can also take a look inside your app to see if I can find anything. Just DM me.

I’m not sure what you mean. Basically the + button creates a new ‘reading’ lets say i create a new LEV line - Filter 1, I make 3 readings Machine 1, Machine 2 etc. i save/close the pop up. I create a new LEV Line, Filter 2, opens the pop up, when i click + for a new reading, it shows Machine 1, click again, Machine 2.
Obvioulsy the inputs should be blank!

i’ve tried varous ways of looking up the info etc. but i dont understand where its pulliing the info from! the pop has closed and reopened.

i’ve also now had a new issue with a table. When i click 'complete report - it should sae the current list of things, and add them all to a report - but it randomly adds a new line to the table (copies the last item) again, it isnt in the database but shows in the front end!!

could this be a bubble glitch on the element?