Hello,
I have added a table which is returning a collection that looks at a Sharepoint List. In that sharepoint list I have some lookup columns bringing data from a second sharepoint list. One of those columns is payroll no, which is returning [object Object].
Current Code is
ClearCollect(POrders,ShowColumns('Shopping Cart Order Items',"OrderID","Product","PointsQuantity","Total_x0020_Points","SalesQuantity","Total_x0020_Price","Employee_x0020_Lookup_x003a_Empl"))
So, I 've been trying to bring the value through with a lookup, not sure if this correct.
ClearCollect(POrders,ShowColumns('Shopping Cart Order Items',"OrderID","Product","PointsQuantity","Total_x0020_Points","SalesQuantity","Total_x0020_Price",AddColumns('Shopping Cart Order Items',"Payroll No",LookUp('Shopping Cart Order Items',"Employee_x0020_Lookup_x003a_Empl" =DataCardValue2.Text,'Payroll No'))
Any ideas the correct way to do this?
Thanks
Ross