Page 1 of 1

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Tue Jan 03, 2012 6:08 am
by rbermudez
I have a crosstab in a databand. I want highlighting all the row. Then I use 2 diferent conditions. One for the first element ( the title row) and other for the calculate elements.

In the first row appearance expression condition I have:
((string)e.Value) == "Promedio"
and it's works fine to me, this highlighting the title row.

But in the calculated rows appearance expression condition I have (reading the tutorial):
tag == "Promedio"
but the row data is not highlighting when row title is "Promedio"

Image



I change this for "tag == null" then all calculate data is highlighting (all rows), and if i have "tag != null" nothing calculate data is highlighting.

Thanks!

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Tue Jan 03, 2012 9:41 am
by HighAley
Hello.

Please, try to set the Tag property of the Cross-Summary. See the Demo report -- 'Cross-Tab with Condition 2'.

Thank you.

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Tue Jan 03, 2012 12:00 pm
by rbermudez
I already have set in the condition appearence of the cross-sumary ( demo expression is tag == "Canada")

My cross-sumary condition appearence equals
tag == "Promedio"

But seems as if there was no tag variable. tag not exists. Is it necessary to initialize the tag var to any Tagvalue elemnent? How do I get this? thanks

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Wed Jan 04, 2012 4:13 am
by HighAley
Hello.
rbermudez wrote:I already have set in the condition appearence of the cross-sumary ( demo expression is tag == "Canada")

My cross-sumary condition appearence equals
tag == "Promedio"

But seems as if there was no tag variable. tag not exists. Is it necessary to initialize the tag var to any Tagvalue elemnent? How do I get this?
You should set the Tag property. Please, look at the attached image.

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Wed Jan 04, 2012 5:19 am
by rbermudez
Great! I needed change to the standar or profesional properties view to can change the interaction options.

Works fine to me! Now I can see the row highlighting

Very thanks!

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Posted: Wed Jan 04, 2012 6:15 am
by HighAley
Hello.
rbermudez wrote:Great! I needed change to the standar or profesional properties view to can change the interaction options.

Works fine to me! Now I can see the row highlighting

Very thanks!
We are always glad to help you.

Thank you.