Dear all,
I know this error is very common. I have reviewed past cases in this community. However, I have no clue why my query is throwing error. (the error underline is highlighting the LookUp look) Please kindly assist.
ForAll(
galSurfaceArea.AllItems,
If(
Value(lblSurfaceArea.Text) > 0,
If(
IsBlank(
LookUp(
TestSurface,
ID=ThisRecord.ID
)
),
Patch(
TestSurface,
Defaults(TestSurface),
{
TestCertNo: DataCardValue.Text,
Length: txtLength.Text,
}
),
Patch(
TestSurface,
LookUp(
TestSurface,
ID = ThisRecord.ID
),
{
TestCertNo: DataCardValue.Text,
Length: txtLength.Text,
}
)
),
)
);