Solved

Oracle Report formatting

Posted on 2009-04-13
6
436 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Migrate Oracle Database from ASM to Non-ASM on a Windows server. 1 45
sql query 9 45
grouping on time windows 6 51
Oracle SQL Select unique values from two columns 4 54
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…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

777 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