cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
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
Meneghino
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
Meneghino
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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (77,772)