dbTalk Databases Forums  

Q: listing form parameters

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Q: listing form parameters in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Q: listing form parameters - 05-09-2008 , 09:02 PM






I'm using Forms [32 Bit] Version 10.1.2.2.0 (Production)

I wish to create a general purpose procedure to list an fmb's parameter
names and values, but I don't see how to do that. Does anyone know how to
do that?

To be more specific in case my meaning isn't clear... an example of a
general purpose procedure to access the items in a block, I could use code
such as (of the top of my head, totally untested code)

item_name := get_block_property('THE_BLOCK',FIRST_ITEM);
last_name := get_block_property('THE_BLOCK',LAST_ITEM);
while 1=1
loop
the_value := name_in('the_block.'||item_name);
message(item_name||'='||the_value);
if item_name = last_item then exit; end if;
item_name := get_item_property(item_name,NEXT_ITEM);
end loop;

I want to do something similar to the above, but listing the forms
parameters and their values. If I know the name of a parameter then I can
get the value using NAME_IN('PARAMETER.THE_NAME'), but I am stuck on how
to get a list of the names in the first place.

Feedback appreciated.

Thanks, malcolm dj.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.