hi expert
is there a way to set a variable and patch the SP list with lookup
for example
i want to set variable to the below code:
Patch(
Forecast,
LookUp(Forecast, UniqueID=Value(DataCardValue174.Text)),
{
ApprovalStatus: "Approved",
})
desired code:
Set(varRecord,Patch(Forecast,varRecord,
LookUp(Forecast, UniqueID=Value(DataCardValue174.Text)),
{
ApprovalStatus: "Approved",
ActiveStatus: {Value: "Active"}))
but i am getiing error in this