Hi @MuzaffarMuhmood ,
Could you confirm the following:
On your New Form Button, you have:
NewForm(Form1)
On your Edit Form Button and/or on the OnSelect property of the Gallery (if you're using one), you have:
Set(
varRecord,
ThisItem
);
EditForm(Form1)
On the Submit Form button, you only have:
SubmitForm(Form1)
On the OnSuccess property of the Form, you have:
Set(
varRecord,
Self.LastSubmit
)
If you’re going to Patch the same data source after the Submit Form procedure, you need:
Set(
varRecord,
Self.LastSubmit
);
Set(
varRecord,
Patch(
'User Scores',
LookUp(
'User Scores',
ID = Form1.LastSubmit.ID
),
{
'1st Question': '1st Question_DataCard1'.Update,
'2nd Question': '2nd Question_DataCard1'.Update,
'3rd Question': '3rd Question_DataCard1'.Update
}
)
)
------------------------------------------------------------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.
If you like my response, please give it a Thumbs Up.
Imran-Ami Khan