GetMemberValue Function

  • Updated

The GetMemberValue function returns the specified field value of the first collection member that satisfies a given filter criteria.

Syntax

 

The GetMemberValue function returns the specified field value of the first collection member that satisfies a given filter criteria.

 

GetMemberValue(collection, returnField, defaultReturnValue, filter)

 

 

Arguments:

 

 

 

collection

Collection - A collection.

 

 

returnField

Field - Member field with the value to return.

 

 

defaultReturnValue

Any - Default return value if no collection member satisfies the filter.

 

 

filter

FilterExpression - The filter criteria.

Remarks

  • Example: GetMemberValue(LineItems, ProductName, "No Large Quantity", Quantity > 12 returns "ProductX".

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.