Home » Developer & Programmer » Forms » how to associate dynamic record group with lov
icon9.gif  how to associate dynamic record group with lov [message #136457] Thu, 08 September 2005 02:34 Go to next message
gauravpuri
Messages: 26
Registered: August 2005
Location: Chennai
Junior Member

i use create_group_from_query built in and pupulate this dynamic record group by populate_group.can anyone tell how i shall associate this record group with lov ?. can i dynamically create lov.
Re: how to associate dynamic record group with lov [message #136582 is a reply to message #136457] Thu, 08 September 2005 18:36 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have a look at http://www.orafaq.com/forum/m/133985/67467/?srch=record+group#msg_133985.

You can dynamically change the record group associated with an LOV. IMO there's little point in trying to create an LOV dynamically as you have to point the result to a field and that can not be changed.

Have a look in the reference manual and you will see that there is only a limited range of characteristics of an LOV that can be changed.

David
Re: how to associate dynamic record group with lov [message #136609 is a reply to message #136582] Fri, 09 September 2005 00:11 Go to previous messageGo to next message
gauravpuri
Messages: 26
Registered: August 2005
Location: Chennai
Junior Member

hi David

i created record group dynamically say rg1.then i create a lov at design time say lov1. and i set this lov with set_lov_property('lov1',group_name,'rg1'). but when i run form it gives error unable to find recor group for lov lov1.

so how can i solve this problem.

with regards
Gaurav

Re: how to associate dynamic record group with lov [message #136610 is a reply to message #136609] Fri, 09 September 2005 00:16 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Better question ... search this forum for 'record group', 'record_group', and 'lov'. Read, at least, three threads from top to bottom. Look at the code that they have use, modify yours appropriately. and run it. Come back to us with any further questions.

David
Re: how to associate dynamic record group with lov [message #136621 is a reply to message #136457] Fri, 09 September 2005 01:20 Go to previous messageGo to next message
gauravpuri
Messages: 26
Registered: August 2005
Location: Chennai
Junior Member

hi david

by going through forum,i found out that one has to create a design time record group for design time lov.but dynamically one can set lov to different record group provided datatype and no. of coloumns of both record group should be same.

but is it only way.can't we create lov dynamically .

with regards
Gaurav
Re: how to associate dynamic record group with lov [message #136622 is a reply to message #136621] Fri, 09 September 2005 01:24 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
No.

David
Re: how to associate dynamic record group with lov [message #136627 is a reply to message #136457] Fri, 09 September 2005 02:01 Go to previous message
gauravpuri
Messages: 26
Registered: August 2005
Location: Chennai
Junior Member

thanks david
Previous Topic: Differenece between REP and RDF file format in oracle report
Next Topic: invoice form
Goto Forum:
  


Current Time: Fri Sep 20 00:39:15 CDT 2024