|
|
|
|
|
|
Re: Disabling all the block except single item [message #615806 is a reply to message #615805] |
Mon, 09 June 2014 07:08 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13937 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
The list of items being disabled is static and known at compile time.
So instead of writing a loop that goes through each item in the block why not simply write a procedure with a set_item_property for each item you want disabled.
|
|
|
|
Re: Disabling all the block except single item [message #616536 is a reply to message #616533] |
Wed, 18 June 2014 01:34 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Indicates to an error, I'd say. There's no such thing as "system.cursor_field" (at least, as far as I can tell). System variables begin with a colon (which is missing in your example).
There are :system.cursor_item and :system.current_item which are described in Forms Online Help system, so - have a look.
:system.cursor_item (which is similar to what you asked) returns name of the block and item (such as emp.ename); your example contains only 'CURSOR' which is certainly not a block.item.
:system.current_item returns an item name (without the block prefix).
So, 'CURSOR' *might* be an item name, but used with a wrong :system variable.
[Updated on: Wed, 18 June 2014 01:38] Report message to a moderator
|
|
|
|
|
|
|
|