I have the following code in a couple of apps and it always worked fine but now it is only collecting the last item not all of them? Just to say galSetLine is a dynamic gallery which I add details to as I go...
ForAll(galSetLine.AllItems,Collect(colViewAll,{
AllocationOrder:drpAlloctionOrder.Selected.Value,Number:cmbNumber.Selected.Title,Place:drpplace.Selected.PlaceNumber,name:txt_name.Text
}))
If I use the above collection colViewAll in either a gallery or table it just shows the last item collected but repeated however many lines there are in the original gallery. so for example if I have 5 lines in galSetLine with something different in each one it just shows what was in line 5 , 5 times..
Is there an alternative to ForAll or some other way to collect everything in that gallery?
TIA