Im trying make a function where you can edit already done inspections, im trying to retrive data back from 3 lists, and decided to retrieve them back into collection.
How can get "Answer" value to be correct for each record ,right now with this formula it gets the value of the first record in 'Inspection answers' and puts it on all records in the collection
This formula is in a gallery onselect on an already done inspection
ClearCollect(
colQuestionsEdit,
AddColumns(
ShowColumns(
QuestionList,
"ID",
"Title",
"TitleENG",
"TitleRU",
"Requirement",
"RequirementENG",
"RequirementRU",
"Value",
"Order" ),
"Answer",
LookUp('Inspection answers',ThisItem.ID=ResponseID).Answer,
"Values",
"",
"Comment",
"",
"Score",
"",
"MinusScore",
""
)
);
I assume it can be done with ForAll, but i dont know how to integrate it