cancel
Showing results for 
Search instead for 
Did you mean: 

Gathering Parts from a Subpart Collection into a one-to-many connection formula that matches a criteria

Community Manager Community Manager
Community Manager

Given:

 - Me.SubpartCollection is the subpart collection which contains the parts.

 - Height is the property for the criteria (where Height > 5).

 --------------

Dim oPart as Object

Dim cParts as New RsCollection

 

For Each oPart in Me.SubpartCollection

         If oPart.Height > 5 Then

                 cParts.Add (oPart)

         End If

Next

 

Result = cParts

Contributors