What's wring with this "code":
UpdateContext(
{
Code: RandBetween(
1;
3
)
}
);;
UpdateContext(
{
SavedName: LookUp(
Items;
ThisRecord.Code = Code;
Name
)
}
);;
I have an excel table with three items in it named: "Items". I want to search for the "Code" column and than save the "Name" property of this record in a second var. Why is the above not working? Because the "SavedName" variable is always the first name of the table.