December 20, 2016 at 8:46 am
I am following examples/exercises in this book: https://drive.google.com/open?id=0ByFnKe4djAO-d29ZTUJrbExhbzQ page 238.
I am getting an error: Warning1[rsInvalidColor] The value of the BackgroundColor property for the page ‘Page’ is “Light Green”, which is not a valid BackgroundColor.
I tried selecting different colours but the problem persist.
Please Assist?
December 20, 2016 at 8:56 am
color Aliases do not have a spaces in them. LightGreen would be correct.
Lowell
December 20, 2016 at 8:59 am
Problem persist even when a choose a one name colour!
December 20, 2016 at 9:04 am
weird; via the GUI, i am able to set the background on either the page or the body with no problem, for example.
i don't see the color until it's rendered, it doesn't change in the development view.
how are you setting the background? via a formula?
Lowell
December 20, 2016 at 9:09 am
Would you please follow as i have shown vi the link i provided.
December 20, 2016 at 9:17 am
yrstruly (12/20/2016)
Would you please follow as i have shown vi the link i provided.
I saw the error message; that was what made it clear that the alias for the color had a space in it;
but my question is, HOW are you assigning the background color.
if it is part of an expression, the expression might be miss typed...maybe a leading space, trailing sppace, we need to see the actual expression.
in my screenshot, i just set the color with nothing otehr than the GUI.
are you using an
Lowell
December 20, 2016 at 9:23 am
=iif(Fields!Gender.Value="M","Light Green","Khaki")
December 20, 2016 at 9:25 am
Do you get the same problem if you choose a matrix style other than Forest?
John
December 20, 2016 at 9:29 am
Haven't tried any other yet.
December 21, 2016 at 3:15 am
yrstruly (12/20/2016)
=iif(Fields!Gender.Value="M","Light Green","Khaki")
As Lowell said, you should have:
=iif(Fields!Gender.Value="M","LightGreen","Khaki")
None of the defined colours have spaces in there.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply