Each time the user submits I want it to delete their old data and only store the new radio button selections. This is what I have in my submit button currently Set(varUserEmail, User().Email); Navigate(Success, Fade); ForAll(
TemplateGalleryList1.AllItems,
If(
!IsBlank(Radio4.Selected.Value),
Patch(
'DE Radio',
Defaults('DE Radio'),
{
Title:Namee,
Answer: Radio4.Selected.Value,
Name_:User().FullName,
Date:Today()
}
)
)
); Remove('DE Radio', Filter('DE Radio', 'Created By'.Email = varUserEmail)). The remove function I added removes everything for some reason. I only want it to delete that specific users previous selections.
Solved! Go to Solution.
Is it removing all items from 'DE Radio' or all items that were created by the current user? If it is the latter then try switching the order of the functions and do the Remove() first and then the Patch().
Is it removing all items from 'DE Radio' or all items that were created by the current user? If it is the latter then try switching the order of the functions and do the Remove() first and then the Patch().
User | Count |
---|---|
236 | |
113 | |
94 | |
59 | |
31 |
User | Count |
---|---|
286 | |
132 | |
106 | |
63 | |
57 |