2007 Oct 30 9:02 AM
hello friends,
i am working on a classical report.
now i have a condition that if the value is below a certain value then the colour should be RED or else the colour should be BLUE.
i am using the following code for colour
WRITE : (10) itab-act COLOR 5, '|' CENTERED.
but this is making the whole block coloured,i only want the value to be in RED or BLUE..
what to do for that ????
2007 Oct 30 9:41 AM
HI,
use keyword FORMAT INTENSIFIED ON before write statement..
....................
....................
for ex:
format intensified on.
write: 'suresh' color 5.
write:/10 'babu' color 6.
color no's are from 0 -6.
intensified -- to display text as chosen color.
inverse --- to display background on text with chosen color.
if helpful reward some points.
with regards,
Suresh Aluri.
HI,
use keyword FORMAT INTENSIFIED ON before write statement..
....................
....................
for ex:
format intensified on.
write: 'suresh' color 5.
write:/10 'babu' color 6.
color no's are from 0 -6.
intensified -- to display text as chosen color.
inverse --- to display background on text with chosen color.
if helpful reward some points.
with regards,
Suresh Aluri.
2007 Oct 30 9:03 AM
Hi,
Use format inverse On. before your write statement.
Regards,
Prashant
2007 Oct 30 9:05 AM
Use :
FORMAT COLOR 5. "5 is the color number
FORMAT COLOR OFF - to switch off the color
Regards,
GURU
2007 Oct 30 9:41 AM
HI,
use keyword FORMAT INTENSIFIED ON before write statement..
....................
....................
for ex:
format intensified on.
write: 'suresh' color 5.
write:/10 'babu' color 6.
color no's are from 0 -6.
intensified -- to display text as chosen color.
inverse --- to display background on text with chosen color.
if helpful reward some points.
with regards,
Suresh Aluri.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |