Announcements
Hi [Recipient's Name],
I hope this message finds you well. I’m currently working on a Power Apps project where I have a gallery that displays certain records. I have a Patch function that works perfectly on its own:
Patch
Patch( ETP_CAP_AAF, LookUp( ETP_CAP_AAF, Email = User().Email && Date = SelectedDate && CAP = CAP_2.Text ), {'Nombre d''ETP': Value(TextInput1.Text)} )
However, I'm struggling to incorporate a ForAll function to iterate through the items in the gallery while using this Patch function. I would appreciate any guidance or suggestions on how to implement this effectively.
ForAll
Thank you for your help!
Best regards,
ForAll( GalleryName.AllItems as Item, Patch( ETP_CAP_AAF, LookUp( ETP_CAP_AAF, Email = User().Email && Date = Item.Date && CAP = Item.CAP ), {'Nombre d''ETP': Value(Item.TextInput1.Text)} ))
Hi Nandit,
I wanted to take a moment to sincerely thank you for your prompt and detailed response to my question. Your suggestion gave me the perfect direction, and after making a few adjustments, I was able to implement a solution successfully.
I’m grateful for the support!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 547
WarrenBelz 444 Most Valuable Professional
Valantis 322