Looking for some help. I have a feature layer with a list of Pits and I have a related table that has many records and is linked to the Pit layer through a parent_asset_code field in the related table.
For example PIT-002054 is selected from the primary feature layer and it has 4 records in the related table each with PIT-002054 as the parent_asset_code and each record has some data in it including 'Design Quantity' field and I am using the form to view these and add a number into the 'Actual Quantity' field to each of the records. I want to be able to scroll through each record to review the data. This should come from the Feature layer.
I have used the pulldata function and only managed to retrieve one record (and I have to press the + button to even get that). I am unable to pull data for all the records and I have tried so many things including position(..) and some json but I am a useless coder!
I would be grateful if someone could point me in the right direction.
Here is a sample of my current xml file

