Home » Developer & Programmer » Forms » problem in set_item_property
problem in set_item_property [message #174670] Tue, 30 May 2006 04:44 Go to next message
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

Hii all

i have a button in my form
that i want to it to be visible or not according to a condition

in the 'when-new-form-instanse' trigger
i wrote this

Quote:


SET_ITEM_PROPERTY ('PROCESS_REM',VISIBLE,'PROPERTY_FALSE');




and when i run the form i got that error:

Quote:


invalid parameter used for set_item_property
ora-01403 : no data found




what is the wrong in my code


Thanks for everyone helped and helping me
Re: problem in set_item_property [message #174673 is a reply to message #174670] Tue, 30 May 2006 04:48 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Remove the quotes around property_false.
SET_ITEM_PROPERTY ('PROCESS_REM',VISIBLE, PROPERTY_FALSE);
I advise you to precede the item name with the block name.

MHE
Previous Topic: prevent delete when details exist (merged)
Next Topic: Post change trigger (two threads merged)
Goto Forum:
  


Current Time: Fri Sep 20 07:50:38 CDT 2024