While researching something else CR on the web the other day, I ran across a mention of setting a color "constant" in a user formula (with other report constants). The idea was, you could define several constants in one formula and just copy/insert that formula from report to report. From w/in Format Section, Background Color, you were supposed to be able to reference the "constant" somehow.
I don't remember where I saw the article or the details. I have tried several ways to do it, but nothing is clicking for me using arrays or setting a variable to COLOR( x, y, z).
Does this ring a bell w/ anyone?
I could probably do it by defining separate Red, Blue, Green values and referencing them as COLOR( RVal, BVal, GVal), but I don't think that's the way the article defined it... and it would make having several COLORs define pretty awkward... i.e., for a report header, a detail header, a section header:
RValRptHeader, BValRptHeader, GValRptHeader,
RValDtlHeader, BValDtlHeader, GValDtlHeader,
RValStnHeader, BValStnHeader, GValStnHeader...
See what I mean?
Anybody?
If I'm not clear, then yell and I'll try to explain better.
--
Marc Visconte
CSC
Lead RMS Developer
Crystal Reports
I don't remember where I saw the article or the details. I have tried several ways to do it, but nothing is clicking for me using arrays or setting a variable to COLOR( x, y, z).
Does this ring a bell w/ anyone?
I could probably do it by defining separate Red, Blue, Green values and referencing them as COLOR( RVal, BVal, GVal), but I don't think that's the way the article defined it... and it would make having several COLORs define pretty awkward... i.e., for a report header, a detail header, a section header:
RValRptHeader, BValRptHeader, GValRptHeader,
RValDtlHeader, BValDtlHeader, GValDtlHeader,
RValStnHeader, BValStnHeader, GValStnHeader...
See what I mean?
Anybody?
If I'm not clear, then yell and I'll try to explain better.
--
Marc Visconte
CSC
Lead RMS Developer
Crystal Reports