Hi all, I have an issue with LookUp() function used in ForAll().
Currently I obtain the following result:

Instead, the expected result is:
A - A1
B - B1
Am I doing something wrong?
Please copy-paste the code below to a new button to test it:
ClearCollect(
_col_ItemsToSearch,
{
lookup_name: "AP-24",
result_name: "A"
},
{
lookup_name: "AP-23",
result_name: "B"
}
);
ClearCollect(
_col_WhereToSearch,
{
lookup_name: "AP-24",
result_name: "A1"
},
{
lookup_name: "AP-23",
result_name: "B1"
}
);
ClearCollect(
_test,
ForAll(
_col_ItemsToSearch,
ThisRecord.result_name & " - " & LookUp( _col_WhereToSearch, lookup_name = ThisRecord.lookup_name, result_name )
)
)
Thank you!