SET_ITEM_PROPERTY('DYNAMIC ITEM ID',PROPERTY,VALUE) [message #604179] |
Wed, 25 December 2013 09:30 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/f9929521c3b6699544335b414871a5a1?s=64&d=mm&r=g) |
yesh
Messages: 15 Registered: November 2013
|
Junior Member |
|
|
Hi all .
Is it possible to pass the Item_id dynamically to the SET_ITEM_PROPERTY?
normally we pass it like SET_ITEM_PROPERTY('Item_id',property,value);
item_id is within single quotes ('item_id')
but if we pass some variable say 'M_DAY' which will have item_id's, will it work. I didn't try it yet. Thought i could get some feedback here before proceeding.
|
|
|
Re: SET_ITEM_PROPERTY('DYNAMIC ITEM ID',PROPERTY,VALUE) [message #604180 is a reply to message #604179] |
Wed, 25 December 2013 10:18 ![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/149761.png) |
deepakmannazhi
Messages: 137 Registered: February 2010 Location: Dubai, UAE
|
Senior Member |
![deepakmannazhi@gmail.com](/forum/theme/orafaq/images/google.png)
|
|
Hai,
Yes, You can dynamically pass item names.
Here is a sample, you can use your own way. Here I'm passing the item name in one text field, and label value in another text field. And changing dynamically.
set_item_property(:CTRL_BLK.TXT2,label, :CTRL_BLK.TXT3);
Regards
Deepak
-
Attachment: prop.png
(Size: 12.77KB, Downloaded 1244 times)
|
|
|
|