Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

Oracle Report formatting


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
  • 3
1 Solution
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.
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
                IF :CS_1 = 0 OR :CS_1 IS NULL
                THEN RETURN (TRUE);
                         RETURN (FALSE);
                END IF;
my given solution is proven solution on Internet widely. user is not honoring the help. Please help in points. Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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