Warning1[rsInvalidColor] The value of the BackgroundColor property for the page ‘Page’ is “Light Green”, which is not a valid BackgroundColor.

  • 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?

  • color Aliases do not have a spaces in them. LightGreen would be correct.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Problem persist even when a choose a one name colour!

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Would you please follow as i have shown vi the link i provided.

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • =iif(Fields!Gender.Value="M","Light Green","Khaki")

  • Do you get the same problem if you choose a matrix style other than Forest?

    John

  • Haven't tried any other yet.

  • 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