Home » Developer & Programmer » Reports & Discoverer » format trigger
format trigger [message #133612] Sat, 20 August 2005 01:46 Go to next message
yogeshwar_cool
Messages: 32
Registered: July 2005
Location: india
Member

hi all,
I want to know about the format triggers.
my requirement is that i want to change colour of
the text of items according to the value(conditinally)

thanks and regads
yogeshwar.
Re: format trigger [message #146328 is a reply to message #133612] Wed, 09 November 2005 22:13 Go to previous message
sakdisorn2004
Messages: 1
Registered: November 2005
Location: Bangkok
Junior Member

There is an internal package called SRW.
For example, if you want the current field to be red when
:TOTAL_AMOUNT < 0
You can put the following code.

IF (:TOTAL_AMOUNT < 0) THEN
srw.set_text_color('red');
END IF;

This this could help.
Tom.
Previous Topic: Discoverer 4i and Oracle 9i Compatibility
Next Topic: cannot attach files to mail
Goto Forum:
  


Current Time: Mon Jul 01 04:57:42 CDT 2024