Home » Developer & Programmer » Forms » dynmaically changing the record group
dynmaically changing the record group [message #531638] Thu, 17 November 2011 03:36 Go to next message
goparaju
Messages: 54
Registered: June 2011
Member
Hi Experts,

I am working on forms 6i, ebs 11i and data base 9i. I have below requirement to achieve.

I want to create a lov for a column called 'FORM'.

I have lookup for this as follows

lookup code meaning description

FORM FORM XXSMCINV_FORM

in the description, it's value set name.

I am manually checking the value set name and writing static record group.

Right now, i have static record group for this like below.

select ffvv.flex_value "FORM"
from fnd_flex_value_sets ffvs,fnd_flex_values_vl ffvv
where ffvs.flex_value_set_id=ffvv.flex_value_set_id
and ffvs.flex_value_set_name='XXSMCINV_FORM' order by flex_value;

It's working fine.

But in the lookup, they can add one more FORM like below.

LOOKUP_CODE MEANING DESCRIPTION

FORM FORM XXSMCINV_FORM
FORM1 FORM1 XXSMCINV_FORM1

Now i have to change the record group query manullay like below.

select ffvv.flex_value "FORM"
from fnd_flex_value_sets ffvs,fnd_flex_values_vl ffvv
where ffvs.flex_value_set_id=ffvv.flex_value_set_id
and ffvs.flex_value_set_name='XXSMCINV_FORM' order by flex_value;
UNION
select ffvv.flex_value "FORM"
from fnd_flex_value_sets ffvs,fnd_flex_values_vl ffvv
where ffvs.flex_value_set_id=ffvv.flex_value_set_id
and ffvs.flex_value_set_name='XXSMCINV_FORM1' order by flex_value;

Is there anyway i can make this automatic whenever they add new FORM lookup.

Is this possible to achieve using dynamic record group.

Kindly help me. It's very urgent.





Re: dynmaically changing the record group [message #531696 is a reply to message #531638] Thu, 17 November 2011 05:44 Go to previous message
goparaju
Messages: 54
Registered: June 2011
Member
Hi Experts,

Could somebody help me how to fix this.

Thanks in advance
Previous Topic: Calling a .Net module from Oracle Forms and Control back to Form Again
Next Topic: Calling an applet from Oracle Forms
Goto Forum:
  


Current Time: Thu Aug 01 08:21:29 CDT 2024