Hello all,
i came across a strange problem.
I wanted to compare the 'Full Name' attribute from the User-Table to the resourceLeader.Name, which is just another Full Name stored in another table. Definitely a string.
Why so ever it seems that the LookUp or the Filter does not work when I use that way.
When I on the opposite use 'Full Name' = Text(resourceLeader.Name) it works, anyways I get a delegation which is not necessary here.
The workaround was to use a collection and store the fullname and email inside and use that to fill in the LookUp.
Does somebody know why the LookUp seems to have a problem with the 'Full Name' of the User-table?
The code which I used:
ClearCollect(
colUserLookUpEmail,
ForAll(
Users,
{
fullName: 'Full Name',
eMail: 'Primary Email'
}
)
);
ClearCollect(
colBookableRessourceCharacteristicsGetEmailOfLeaders,
ForAll(
colBookableRessourceCharacteristicsGetLeaders,
{
userMail: LookUp(
colUserLookUpEmail,
fullName = resourceLeader.Name,
eMail
)
}
)
);