Home » Developer & Programmer » Forms » lov (form 6i, oracle8i)
lov [message #289595] Mon, 24 December 2007 03:57 Go to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
hi

i have a requirement in which i have two text item's exist on different canvas's and i have a single column lov in the form.
i want to invoke the lov for both text items form the button items which are placed near the text items and return the slected value from the lov to the text item's.


regards
jitender.
Re: lov [message #289608 is a reply to message #289595] Mon, 24 December 2007 05:05 Go to previous messageGo to next message
Littlefoot
Messages: 20897
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You can use the same record group; just create two LoV's and base them on this record group. Make sure every LoV returns value into appropriate text item (i.e. create a proper mapping between LoV value and form item).
Re: lov [message #289757 is a reply to message #289608] Wed, 26 December 2007 01:06 Go to previous messageGo to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
hi
is there any other method in which i user single lov to accomplish that task.

regards
jitender.
Re: lov [message #291364 is a reply to message #289757] Fri, 04 January 2008 00:29 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Another Orafaq poster recommended using either a 'global' or a hidden field in a 'control' block as the receiving field in the LOV and then copying that value to the field in which you are currently interested.

David
Re: lov [message #291463 is a reply to message #291364] Fri, 04 January 2008 05:21 Go to previous messageGo to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
ok, but by this method i can only provide same value to both items , but i want to provide different values to both the items.

regards
jitender
Re: lov [message #292381 is a reply to message #291463] Tue, 08 January 2008 18:31 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Forms can only process one item at a time. Therefore, if, in the LOV trigger associated with each item, you take the returned value and place it in your record then each trigger associated with its own item may place the returned information in different places.

David
Previous Topic: Can we develop form from View? and How to Develop Form based on the view? (merged - djmartin)
Next Topic: Error 408
Goto Forum:
  


Current Time: Wed Dec 07 11:00:51 CST 2016

Total time taken to generate the page: 0.11636 seconds