I have a table called 'GroupDetails' , with Foreign Key as IM_No. I am using a collection to store the Ind_Id from a Gallery, as
Collect(IndinGroup, {Ind_Id: ThisItem.Ind_Id})
The table should look as follows. IM_No 1 already exists in the Master Table.
I am Using:
ForAll(IndinGroup,Patch('[dbo]..[Group_Details]',Defaults('[dbo].[Group_Details]'),{Ind_Id: IndinGroup[@Ind_Id], IM_No: Value(varIMRecord.IM_No)})
This gives me the error 'Expected Number for Ind_Id. Received Table'.
What am I doing wrong? Please help.