cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper IV
Helper IV

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
Community Champion
Community Champion

Correct syntax is:

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

Or better:

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

View solution in original post

2 REPLIES 2
Community Champion
Community Champion

Correct syntax is:

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

Or better:

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

View solution in original post

Thx ! Top - Works fine! 

Jens Rogge

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,020)