Hi!
I'm quite new to PowerApps and the other day I faced a problem that I couldn't wrap my head around.
My App:
I have a collection with 20 questions that the users are going to answer. When all the questions are answer the save button turns blue and the user saves the questions.
The issue:
Answering the first 19 question goes without any problems. But, when I come to the last question, It doesn't patch it (See pictures). So I have answered all 20 questions but it only registered 19.
What am I doing wrong?
Thanks for the help!
Code:
// Update count
If(varRecordExist,
// Ändra värdet (Svar) för denna post
Patch(
colSvar,
ThisItem, //Denna post ska ändras
{
Svar: Radio1.SelectedText.Value // Värdet från droplistan
}
),
// Ändra värdet (Svar) för denna post
Patch(
colSvar,
ThisItem, //Denna post ska ändras
{
Svar: Radio1.SelectedText.Value // Värdet från droplistan
}
)
);