Hi there,
I have a lookup column and I want to add new data to a list if data does not exist.
I tried this code below to check if data already exists
If(IsBlank(LookUp('Votes-Details_2',Idea_ID = ThisItem.ID)),
Set(varLoad,true);
Patch(
'Votes-Details_2',
{
Ideas_Id: Gallery3_3.Selected.ID, Title:Gallery3_3.Selected.Title
}
);
Set(varLoad,false);,false),false);
But I get an error at the first line of code:
incompatible types for comparison, These types cant be compared: Record, text
You have three posts on the same subject - I have responded to one here