Hi,
i'm trying to work out how to populate a label in a gallery using the value from a collection if the object is in the collection, and if it isn't use the orignal value from the gallery source. I've tried:
"Stock Availability: " & If(LookUp(colStockAvailable, ProductsID = ThisItem.ProductID)).AvailableStock, ThisItem.StockAvailability)
And
"Stock Availability: " & If(LookUp(colStockAvailable, ProductsID = ThisItem.ProductID), AvailableStock, ThisItem.StockAvailability)
But I can't seem to just get the value back I want which is AvailableStock.
My collection collects items that are in an orders list based on a date range, in my orders list it works out how much stock is left of those items based on those dates.
Any suggestions would be great.
Thanks