HI
I am creating a stock and product management application. In a gallery I get a table with different IDs and not product and reference. I don't display the IDs but the name equivalent to the ID (via a lookup function).
With({_items:
Search(
AddColumns(PRODUCT As _product;
"TAG_NAME"; LookUp(TAG; ID_TAG = _product.ID_TAG; TAG_NAME);
"PROVIDER_NAME"; LookUp(PROVIDER; ID_PROVIDER=_product.ID_PROVIDER1; PROVIDER_NAME)
);
tdSearchinput.Text; "PRODUCT_NAME"; "TAG_NAME"; "PROVIDER_NAME";"MANUFACTURE"
)};
ForAll(Sequence(CountRows(_items));
Patch(Last(FirstN(_items; Value)); {LineNumber: Value})
)
)
This gallery takes me to a form that allows me to view product details.
Unfortunately in "ITEM" I have the following error
Invalid formula a value with data source is expected
Would someone please tell me why I'm making this mistake?

thanks for your help