Page 1 of 1

Index Of List Variable

Posted: Mon May 18, 2020 8:36 am
by harundemir13
Hello,
I want to control report field values using List Variable.
For Exmp. We have Report Fields Variable in the report, values are Quantity, Gross Total, Net Total. If I select only Quantity and Net Total, I can show Quantity and Net Total fields in the report not show Gross Total. How can I control index of list variable
Thank you

Re: Index Of List Variable

Posted: Mon May 18, 2020 7:33 pm
by Lech Kulikowski
Hello,

It is not possible to get values/keys from the List variable by index.
For filtering, you can use contains method:
VariableName.Contains(DataSource.ColumnName)

Thank you.