Home » Developer & Programmer » Forms » setting item property (10gR2, windows7)
setting item property [message #560660] Mon, 16 July 2012 04:33 Go to next message
7anona
Messages: 72
Registered: February 2012
Member
I have a datablock which is update disabled I want three fields(2text items,1 checkbox)
in the datablock to be updatable when a user clicks on them
I used when_mouse_click trigger and write the command
set_item_instance_property('blockname.itemname',current_record,update_allowed,property_true)
but it didn't work ( field is protected against update)
is the problem in the trigger I used?
or because the block is update disabled?
please assist
Re: setting item property [message #560679 is a reply to message #560660] Mon, 16 July 2012 06:34 Go to previous messageGo to next message
cookiemonster
Messages: 13925
Registered: September 2008
Location: Rainy Manchester
Senior Member
You know form builder help tells you everything you need to know about properties.
If you bring up the help topic on block level update_allowed it'll tell you how it interacts with item level update_allowed.
Re: setting item property [message #560732 is a reply to message #560679] Mon, 16 July 2012 10:02 Go to previous message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Why wouldn't you make it simpler?

Select all items and open their Property Palette window (it will contain multiple selection). Navigate to "Update allowed" property and set it to "No". Then select only these 3 items and set their "Update allowed" property to "Yes".

What significant difference does it make whether these 3 items are always updateable, or only when someone clicks in there? What if users prefer keyboard navigation?
Previous Topic: FRM-92100
Next Topic: Upgrade from 10g to 11g
Goto Forum:
  


Current Time: Fri Jul 05 21:36:08 CDT 2024