I would like to update several columns in a collection based on a record I need to lookup.
If I would lookup that record for every column it would be slow.
I would like to do something like
UpdateIf(
Mycollection
,true
,With(
{MyRec:Lookup(etc..)}
{
col1:MyRec.Field1
,col2:MyRec.Field2
}
)
The compiler sees this code as invalid.
If I use ForAll the compiler thinks it's ok and it works but all other column values in the collection are lost.
Probably simple but just don't see it right now.