my report is not showing color [message #90033] |
Tue, 05 October 2004 22:04 |
shish mate
Messages: 49 Registered: February 2004
|
Member |
|
|
reports 3.
i've writen foramtting trigger for my report like this
function F_EMPNOFormatTrigger return boolean is
begin
if :empno < 7500 then
srw.attr.mask := SRW.FFCOLOR_ATTR ;
srw.attr.ffcolor := 'yellow';
SRW.SET_ATTR (:empno , srw.attr);
end if;
return (TRUE);
end;
but it is not showing me ant color
whats wrong with my code
can u tell me steps for this
|
|
|
Re: my report is not showing color [message #90040 is a reply to message #90033] |
Fri, 08 October 2004 03:11 |
Rana Irfan
Messages: 15 Registered: August 2004
|
Junior Member |
|
|
Hi,
Dear
begin
if :Fk_item_Cat_no is not null then
srw.attr.mask := SRW.TEXT_ATTR +
SRW.FACE_ATTR +
SRW.SZ_ATTR +
SRW.WEIGHT_ATTR +
SRW.GCOLOR_ATTR +
SRW.FBCOLOR_ATTR +
SRW.FFCOLOR_ATTR +
SRW.BFCOLOR_ATTR +
SRW.HJUST_ATTR;
srw.attr.text := SRW.BOLD_TEXTA;
srw.attr.face := 'times';
srw.attr.sz := 7;
srw.attr.weight := SRW.BOLD_WEIGHT;
srw.attr.gcolor := 'blue';
srw.attr.fbcolor := 'red';
srw.attr.ffcolor := 'red';
srw.attr.bfcolor := 'pink';
srw.attr.hjust := SRW.CENTER_HJUST;
srw.set_attr (0, srw.attr);
end if;
RETURN (TRUE);
end;
to write this I think soved ur Prob.
Rana Irfan
|
|
|
|