Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2993
  • Last Modified:

SET_ITEM_PROPERTY('DYNAMIC ITEM ID',PROPERTY,VALUE)

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. any example will higly appriciated


Thanks in Advance
HIna mansoor
0
hinamansoor
Asked:
hinamansoor
  • 2
  • 2
1 Solution
 
Alexander Eßer [Alex140181]Software DeveloperCommented:
Search the help manuals (F1 in Forms Developer) for the built-in function "NAME_IN". It should be and do exactly what you arre looking for...
0
 
Mark GeerlingsDatabase AdministratorCommented:
That is correct.  To do this dynamically in Oracle Forms, you need to use the "name_in" built-in function.
0
 
hinamansoorAuthor Commented:
Sir any short example of  "NAME_IN" built_in function




Thanks
Hina mansoor
0
 
Alexander Eßer [Alex140181]Software DeveloperCommented:
set_item_property (name_in('system.cursor_item'), VISUAL_ATTRIBUTE, 'some_vis_attr');

Open in new window

0
 
hinamansoorAuthor Commented:
Thanks @Alex140181 that was really useful example




Hina mansoor
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now