Home » Developer & Programmer » Forms » can i use set-item-property in when-validate-item trigger ? (10g)
can i use set-item-property in when-validate-item trigger ? [message #419401] Fri, 21 August 2009 18:39 Go to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
Hi,

i need to change the font color of a field if field is not null.

can i write set_item_proprty in when-validate-item trigger of that field??

thanks
jillu
Re: can i use set-item-property in when-validate-item trigger ? [message #419437 is a reply to message #419401] Sat, 22 August 2009 04:55 Go to previous messageGo to next message
cookiemonster
Messages: 12422
Registered: September 2008
Location: Rainy Manchester
Senior Member
You realise form builder help tells you want built ins you can use in which triggers?

Why don't you just try it.
Re: can i use set-item-property in when-validate-item trigger ? [message #419800 is a reply to message #419437] Tue, 25 August 2009 11:46 Go to previous messageGo to next message
nastyjillu
Messages: 211
Registered: February 2009
Senior Member
in form help, it didnot mention whether i can use set_item_property in when-validate-trigger or not

thanks
jillu
Re: can i use set-item-property in when-validate-item trigger ? [message #419802 is a reply to message #419401] Tue, 25 August 2009 11:52 Go to previous messageGo to next message
cookiemonster
Messages: 12422
Registered: September 2008
Location: Rainy Manchester
Senior Member
As far as this goes built-ins fall into two categories - restricted and non-restricted.

The help for a given built-in will tell you if it's restricted or not.
The help for a given trigger will tell you if it allows restricted built-ins or not.

Re: can i use set-item-property in when-validate-item trigger ? [message #419933 is a reply to message #419401] Wed, 26 August 2009 04:19 Go to previous message
sharjeelshafqat
Messages: 33
Registered: August 2009
Location: Pakistan
Member

It is Possible

create a visual attribute as you want

then apply check on when new form instance or any other trigger.

in this you always check for every field and then apply you visual attribute to them.

set_item_property('FIELD_NAME',current_record,visual_attribute,'VISUAL_ATTRIBUTE_NAME');


thanks
Sr. Oracle Programmer
Sharjeel
Previous Topic: Forms and Excel
Next Topic: Hyperlink On text Item
Goto Forum:
  


Current Time: Sat Dec 10 10:43:48 CST 2016

Total time taken to generate the page: 0.28139 seconds