Notifications
Announcements
The ForAll() function is not designed to return results directly in the same way a loop would in a traditional programming language. Specifically, it doesn't allow you to modify the context or variables inside it in the way you're trying to do with. Try the following: // Initialize the context variable to true first UpdateContext({check_result: true}); // Collect all the toggle values into a collection ClearCollect( ck_val, [ {dt: tg_open.Checked}, {dt: tg_close.Checked}, {dt: tg_dis.Checked}, {dt: tg_bt.Checked}, {dt: tg_fn.Checked}, {dt: tg_tp.Checked} ] ); // Check if any of the values in the collection are false If( !IsBlank(LookUp(ck_val, dt = false)), UpdateContext({check_result: false}) )
UpdateContext( { check_result: tg_open.Checked && tg_close.Checked && tg_dis.Checked && tg_bt.Checked && tg_fn.Checked && tg_tp.Checked } )
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268