cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Champion
Community Champion

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

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

Highlighted
Helper IV
Helper IV

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

Thx ! Top - Works fine! 

Jens Rogge

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,058)