Solved

Oracle Report formatting

Posted on 2009-04-13
6
433 Views
Last Modified: 2013-12-07
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
Comment
Question by:mohammedf
  • 3
6 Comments
 
LVL 2

Expert Comment

by:mi1400
ID: 24236254
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
 
LVL 2

Accepted Solution

by:
mi1400 earned 500 total points
ID: 24240657
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
 
LVL 2

Expert Comment

by:mi1400
ID: 24466839
my given solution is proven solution on Internet widely. user is not honoring the help. Please help in points. Thank you.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now