Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

create listbox with variable in expression

I would like to create a list box using a variable in the expression.  The variable contains the names I want displayed for selection in the list box.

Is this possible?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can try using the variable as filter, use something like this as <expression>  list box field (replace FieldToFilter with the field name):

=If(Match(FieldToFilter, $(vUSNFDMParts) ), FieldToFilter)

Just like a calculated dimension.

View solution in original post

5 Replies
swuehl
MVP
MVP

How does the variable look like?

Anonymous
Not applicable
Author

vUSNFDMParts='01012-US-G', '01012-US-S'

The items within the ' ' are names within a field.

Not applicable
Author

Hi,

    I think it's not possible

swuehl
MVP
MVP

You can try using the variable as filter, use something like this as <expression>  list box field (replace FieldToFilter with the field name):

=If(Match(FieldToFilter, $(vUSNFDMParts) ), FieldToFilter)

Just like a calculated dimension.

Anonymous
Not applicable
Author

That works.  Thanks