urgent formatting triggers [message #86473] |
Mon, 04 October 2004 01:44 |
shish mate
Messages: 49 Registered: February 2004
|
Member |
|
|
can any one give me step by step procedure of creating formatting tiggers in report 3 and o/s win98. i tryed it with this code
---first i right click on empno the field where i want to do formatting then i press on pl/sql editor and this is the code i writtn there
function F_EMPNOFormatTrigger return boolean is
begin
if (:empno > 100)
then
SRW.ATTR.MASK := SRW.WEIGHT_ATTR + SRW.FACE_ATTR +SRW.BORDERWIDTH_ATTR + SRW.FBCOLOR_ATTR +SRW.BORDPATT_ATTR;
SRW.ATTR.WEIGHT := SRW.BOLD_WEIGHT;
SRW.ATTR.FACE := 'helvetica';
SRW.ATTR.BORDERWIDTH := 150;
SRW.ATTR.FBCOLOR := 'BLACK';
SRW.ATTR.BORDPATT := 'SOLID';
--SRW.SET_ATTR (0,SRW.ATTR); (if i set this field on it gives me error )
end if;
return (TRUE);
end;
it's not giving any compilation errors but no color no border on report .
what can be the problem
help me
thanks in advance
anish
|
|
|