different color for even and odd records

To discuss Oracle Forms & Reports related technical issues.
Post Reply
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

different color for even and odd records

Post by mirza_rehan »

I want output different color for even and odd records, i think it is done by Set_Item_Instance_Property but i need it in different method when i open form if grid display 10 for example first blue second Red, then blue then red as on ........

if any one know it please reply
i dont need when user navigate to record it will chage i need it is set when user open form....

Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

When ever you pray
Please remember me and my family
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

Hi all i m shocked there is no response against this query?????? and also no one view this query........



Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

When ever you pray
Please remember me and my family
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

Pl download this sample hope will work for you.


[img]/images/icon_zip.gif[/img] <b>Attachment:</b> Rec_Color_Chg.zip <i>( 4553bytes )</i>
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

This form work well but if same code of <b>Post-Query</b> put on <b>When-New-Record-Instance</b> but it not fullfill my requirement because i tell u in my question when i open form its display record in different color, in this code when i clear the block the whole records come to white color


Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

When ever you pray
Please remember me and my family
mufti_sb
Posts: 4
Joined: Thu Apr 13, 2006 1:56 am
Location: Pakistan

Post by mufti_sb »

dear rehan,
i am giving u a tip that is each currect row of detail record is highlighted use following steps it is very simple.
1.create a visual attribute in form builder and make the background for that text item coloured u like.
2.go to text item property find current record visual attribute.
3.set that visual attribute for whole record . every column.

the result is very simple without any effort ur current detail record is highlited. no trigger required 4 that even When-New-Record-Instance is not necessary.

Regards,
Mudasser Sharif

Oracle Certified Professional
System Analist , D.B.A
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

Dear Mudasser

You are not Understand our requirement we need different color of record even and odd no need current record to highlight


Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

When ever you pray
Please remember me and my family
keshavkovela
Posts: 19
Joined: Sun May 07, 2006 7:16 am
Location: India

Post by keshavkovela »

salaam

I want to display different colour for report output
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

Use conditional formating in reports while odd/even logic is same.
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

Here is Sample report for different color for Even and Odd Record with running total (without using formula column).


[img]/images/icon_zip.gif[/img] <b>Attachment:</b> alternate_Rec_color_report.zip <i>( 7242bytes )</i>

Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807

When ever you pray
Please remember me and my family
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests