|
|
Question : Justifying Text, HELP!
|
|
I making an enhancement to a report in report builder. There is a field on my layout that needs to be left justified if it satisfies a certain condition. I've tried to use a CF, but no luck. I've also tried using the format trigger...no luck. What am I not doing?
My logic is as follows:
If [condition] = 'Y' [left justify text] else [print text as normal]
Any help would be apprecitated
|
Answer : Justifying Text, HELP!
|
|
The format trigger works. Here's an example of a trigger that left justifies odd values and right justifies even values:
function F_rownumFormatTrigger return boolean is begin IF TRUNC(:rownum/2) <> :rownum/2 THEN SRW.SET_JUSTIFICATION(SRW.LEFT_HJUST); ELSE SRW.SET_JUSTIFICATION(SRW.RIGHT_HJUST); END IF; return (TRUE); end;
|
|
|
|