Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

Oracle Report formatting

hi

how can i make oracle report with alternate color background , so the first record  background will be white , the secod gray , the third white and so on ,,
something like web tables....

thank u
0
mohammedf
Asked:
mohammedf
  • 3
1 Solution
 
mi1400Commented:
put gray and white shapes both same sized inside frame but in background of labels and return true in conditional formatting. when rownum is even make white return true when rownum is odd make  grey shape return true. u can do this without shapes there is method to change back color of frame conditionally. thing is u have to play with rownum and backcolor.
0
 
mi1400Commented:
once two overlapping white/grey shapes/labels are paced inside frame u need like following code. Infact u need only one shape/label i.e. grey one getting visible on odd or even row. since report page color is white u dont need to create white shape/label.

        FUNCTION B_ZeroFormatTrigger RETURN BOOLEAN IS
        BEGIN
                IF :CS_1 = 0 OR :CS_1 IS NULL
                THEN RETURN (TRUE);
                ELSE
                         RETURN (FALSE);
                END IF;
        END;
0
 
mi1400Commented:
my given solution is proven solution on Internet widely. user is not honoring the help. Please help in points. Thank you.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now