Jameslee20


I have a table that i need to display data
for each row I want the background color to be diff
anybody knowhow to do it

color
blank
color
blank





Re: change the background color in table in report

krubug


i am not at work right now but if iam not mistaken the syntax is:

iif(rowcount(nothing)=2, " GRAY " , nothing)







Re: change the background color in table in report

Jameslee20

thank you





Re: change the background color in table in report

Khushi2005

I tried using this property but it gives me error RowCount not declared

where should I write this event





Re: change the background color in table in report

lauramc

Try using RowNumber instead of RowCount.

The code is placed in the background color property. Choose the color dropdown and look for the <Expression> option. Select that, and add your code there.





Re: change the background color in table in report

mcssnt

If I need to see one yes one no like

1111 [visible]

2222 [invisible]

3333 [visible]

4444 [invisible]

......

I change the property Visibility-Initial visibility = expression = IIF(parameter="SOMETHING", FALSE,TRUE) with this I can hide the DATA but I need to hide the Field too (with border and everything), in preview it looks very good but If I deploy the report change and show the field with borders.

MARCOS Sad






Re: change the background color in table in report

Khushi2005

I do not see alternate rows gray .

In that expression what does "nothing" stand for .

I just copied that statement in my code

Do I need to replace it with some values