Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you conditionally color lines?

Status
Not open for further replies.

Rip1797

Programmer
Jul 18, 2001
7
US
Does anyone know how to conditionally set the line color in CR9? It appears that you can on many other things.

Not the end of the world, but it would be nice...

Thanks,

David
 
hi

I had the same problem but i work around it in ver 8.5 i don't know about ver 9.
This is what i did
Create formula @Line

"__________________________________________________"

then i insert it in my detail section b
and click on format font to be arial and
click on color x2 and specified what type of color i wanted if there a condition to change the color or simply change the color of it

hope this helps

pg
 
Depending upon how many colors you might need, one cheat is to use an additional section with the same fields plus using a colorized line, and then suppress the appropriate sections based on the criteria.

-k
 
Open the "Details" formatting section. In there you will see a tab labeled, "Color". On that tab you will see you can choose a specific color for your details section or you can formulate it. Drop this formula in there;

numberVar Counter;
counter:= counter + 1;


if counter = 3 then
counter:= 1;


if counter = 1 then
Color (217,207,254)

else
white
 
If you literally mean a "line" and not a row or section, you can create a text box or border around a field instead of inserting a line. Let's say you choose the text box route. Insert it, then select it and choose "change border." You can then select the line--bottom, top, right, left--and the border color. Then select the X+2 button and enter your conditional criteria.

-LB
 
and to expand on lbass's method...if you want a thick line just make the bacground color agree with the border color and make the box as thick as you want

Jim Broadbent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top