Advertisement

07.10.2003 at 09:04PM PDT, ID: 20675218
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

combo box as lov

Asked by maimran in Oracle 3rd Party Tools

Tags: , ,

Respected Sir,

this is the situation::

SQL> desc const;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IDATE                                              DATE
 ITM                                                VARCHAR2(50)
 AMNT                                               NUMBER
 DET                                                VARCHAR2(100)

I design a form and take itm as combo box. the objective behind this is that i want to populate itm values whenever i am inserting a new record, the itm value can be selected from already inserted values by querying the database. i write this code

**i check this code by putting it in when-new-form-instance,when-mouse-double-click and when-new-itm-instance triggers one by one but same problem**

declare
q varchar2(30);
w recordgroup;
begin
q:=get_item_property('itm',item_name);
w:=find_group('e');
if id_null(w) then
w:=create_group_from_query('e',
'SELECT distinct(itm),TO_CHAR(1) FROM const ORDER BY itm');
end if;
if populate_group(w)=0 then
populate_list('itm',w);
end if;
copy(get_list_element_value('itm',1),'itm');
end;

code complies successfully but when i enter the itm field one value is selected by firing the trigger and this is the first value resulted by above query(" SELECT distinct(itm),TO_CHAR(1) FROM const ORDER BY itm"). if i change this value by drop down the list then "1" is inserted in the database.

can any one solve this problem

in simple i want this combo box work as like list of values(LOV).....

thanksStart Free Trial
 
Loading Advertisement...
 
[+][-]07.11.2003 at 04:16AM PDT, ID: 8901230

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 3rd Party Tools
Tags: combo, box, lov
Sign Up Now!
Solution Provided By: m1l
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.13.2003 at 12:57AM PDT, ID: 8911382

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.16.2003 at 06:24AM PDT, ID: 8933998

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.19.2003 at 06:01AM PST, ID: 9779295

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32