cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jeanshak
Level: Powered On

Update Fields in Collection by UpdateIf ? Loop on Collection

Hello
I would like to update all Records in Collection LocPic in the field CHECKED 
All Values to true:

With this Statement it doesnt work, what is wrong?

UpdateIf(LocPic; CHECKED=false ; {CHECKED=true})


Is there any loop - construction to check all elements of the collection
for example: 
For each(LocPic)

..... do something with the elements
End each


Thanks for Help

Jens

Jens Rogge
1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Level 10

Re: Update Fields in Collection by UpdateIf ? Loop on Collection

Correct syntax is:

UpdateIf(LocPic; CHECKED=false ; {CHECKED: true})

Or better:

UpdateIf(LocPic; !CHECKED ; {CHECKED:true})

View solution in original post

2 REPLIES 2
Meneghino
Level 10

Re: Update Fields in Collection by UpdateIf ? Loop on Collection

Correct syntax is:

UpdateIf(LocPic; CHECKED=false ; {CHECKED: true})

Or better:

UpdateIf(LocPic; !CHECKED ; {CHECKED:true})

View solution in original post

jeanshak
Level: Powered On

Re: Update Fields in Collection by UpdateIf ? Loop on Collection

Thx ! Top - Works fine! 

Jens Rogge

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,186)