List menu in oracle forms

hi every body,,
i face problem in dropdown list, i want to create employee list take date from database(daynamic) and another list it inclouded department number, when i change any list it will effct to seconde list.
plz, help me if also you can provide me with any web or book or examples it cove my request.
thanks lot..............

modi wrote:
thanks for your response,
i read this example but i have some question for this :
1- i create this trigger on display item or list item ?List item
2-when i write rg_name VARCHAR2(40) := 'country'; this meaning my list or display item 'COUNTRY' name?yes it's country name...
3-when i write 'SELECT country_name NAME, COUNTRY_ID VALUE FROM COUNTRY ORDER BY 2');
this meaning i will display two column in list country_name NAME and COUNTRY_ID VALUE ?yesss
4-when i write POPULATE_LIST('BLOCK3.COUNTRIES', rg_name); this datablock name and item name?yes list item name will be populated from the dynamic record group created from the query
Sorrrrrrrrrrrrrrrrrrrrrry for this questionNever mind am willing for more... :)
u Most Welcome :)
Regards,
Amatu Allah

Similar Messages

  • List Item in Oracle forms

    Hello, I am using oracle weblogic 10.3.5 with oracle forms 11g at windows 7 platform.I have an oracle form with a list item(database item). Now I have attached a record group from another database table to populate list item.My list item is by default set at null value but I want  to show a particular value in list item as when new instance  of list item is occurred:
    |                 ABC                                    |             
    |__________________________________|
    it is a list item.It has 4 values as
    Name          Value
    ' '                    NULL
    A                    1
    B                    2
    ABC                3
    D                    4
    and when list item instance is loaded then I want to show the ABC (able name) and  3 (value) in list item.
    thank You
    regards aaditya

    Block Level Trigger: When new record instance
    :list_item:=3;

  • Problem with List Item in oracle forms

    Hello Experts,        
                         I am new in oracle forms and i am using oracle forms 11g with weblogic 10.3.5 at windows 7.
    I have 3 database tables say(tbl_city,tbl_state,tbl_address).
    tbl_city
    C_ID
    C_name
    S_ID
    0
    None
    0
    1
    XYZ
    1
    2
    AS
    2
    3
    AXD
    2
      tbl_state
    ID
    s_ID
    S_Name
    0
    None
    1
    XY
    2
    ASD
    tbl_address
    A_ID
    A_Street
    S_ID
    C_ID
    1
    ABC
    1
    1
    Now I have made an oracle form having data block tbl_address with base table name tbl_address. In the form there are two list: one(list_state) for State_Name & State_ID and another(list_city) for City Name & C_ID display.
    Here I want when I set State_name to ASD then List item list_city should be populated with the values having State_NAME=ASD not of State_Name=XY or None.I have tried it to make but not succeeded.I have made a procedure to populate list_city list item as:
    -- here item_nm-->List item Name,  sel_val & sel_val2 for selecting C_ID and C_NAME,   tablNm---->tbl_CITY,  whr for where condition,   mtch--->selected value of list_State(list item in form)
    PROCEDURE list_item(block_nm varchar2,item_nm varchar2,sel_val varchar2,sel_val2 varchar2,tablNm varchar2,whr varchar2,mtch varchar2) IS
    group_id RecordGroup;
    group_name varchar2(10) :='abc';
    status NUMBER;
    query1 varchar2(350);
    item_name varchar2(20);
    match varchar2(50);
    BEGIN
        match:=mtch;
        item_name:=block_nm||'.'||item_nm;
      group_id := find_group(group_name);
    if not id_null(group_id) then
    delete_group(group_id);
    end if;
    --if whr='' then
    --    match:='0';
    --    end if;
    query1:='select '|| sel_val || ',TO_CHAR('|| sel_val2 || ') from '|| tablNm ||' where '||whr||' = '||mtch;
    message(query1);
    group_id := Create_Group_From_Query(group_name,query1);
    /* Select statement must have two column*/
    status := Populate_Group(group_id);
    Populate_List(item_name,group_id);
    exception
        when others then
        message('error');
    END;
    I am not  able to guess what trigger  in oracle forms should be used to populate list item(list_city). Please help by giving useful suggestion.
    Thank You
    regards
    aaditya

    979801 wrote:
    If I use LOV in place of List Item,Then I have to populate a LOV at run time.How could I maintain a record group n attach to LOV at run time?
    On my previous post I have mentioned record group as follows:
    select * from tbl_state where s_id=:tbl_address.s_id;
    If :tbl_adress.s_id chaned during the time of run, then output values of list_city (LOV) is also changed.

  • Metalink Doc on FRM-41810 "Error Creating Menu" in oracle form

    Hi,
          Can any one please send me the " RM-41810 "Error Creating Menu" , From the Metalink Document
    Thank you

    Hi Srini,
               Sorry for late update ,
    Srini_Chavali wrote:
    Pl post EBS related questions in the EBS forums.
    Pl provide details of your EBS, OS and database versions, along with details of what the issue is. The mmb files are part of the the EBS install and should be available in $AU_TOP
    It is an Oracle Apps Forms Question and where i can post? Can u plz suggest ? I mean when i post in the EBS forums is this correct position?
    My Window Xp OS version is 5.1 and DB Version is TOAD 9.5 ..
    Thank you

  • Window menu in Oracle Forms

    hello
    i know that the Window menu cannot be removed.. well, is it any possibility to specify where to appear this menu?
    i have 4 menus, each of then with menu items. the last menu is Exit, which exits from the Form. i wanna Window menu to appear penultimate, at the left of Exit menu.
    how is it possible?
    Greets,

    Thanks, now it worked! (subdomain_name i set it to MAIN_MENU, where MAIN_MENU is the name of my menu module).
    one more question regarding to this Window menu.. i have the Default menu in Romanian, so WINDOW is called FEREASTRA. the problem is that the last A isn't visible, so that menu is FEREASTR. what should be the problem? i mention that the last character is Ă, a romanian diacritic.
    Regards,

  • List Item problem in oracle forms

    Hi,
    I am using list item in oracle forms 6i and facing one problem. I am populating list using following built-in.
    Clear_list()
    Create_Group_From_Query( )
    Populate_list()
    The problem I am facing is when list gets populate it keep the cursor at last element of list with null value. I want cursor to go at first item in the list. Is this thing is possible. The list item I am using is pop-list. In combo its showing list perfectly but I have to use pop-list only. Please help to come out of this problem.
    Thanks in advance
    Shweta.

    Hi Shweta,
    Please post your query in Oracle Forms discussion forum.
    Thanks,
    Wilson.

  • List items problems in oracle forms 6i

    Hello friends,
    I am using list item in oracle forms 6i and facing one problem. I am populating list using following built-in.
    Clear_list()
    Create_Group_From_Query( )
    Populate_list()
    The problem I am facing is when list gets populate it keep the cursor at last element of list with null value. I want cursor to go at first item in the list. Is this thing is possible. The list item I am using is pop-list. In combo its showing list perfectly but I have to use pop-list only. Please help to come out of this problem.
    Thanks in advance
    Shweta.

    I have a question related to this post...what if you want the first item on the list to be the null record - but have it at the top of the list - like all other drop downs I've seen? I'm running on forms 9i
    Edited by: saburo on Mar 2, 2010 7:58 AM

  • Creating menus in Oracle Forms

    Hello,
    i need your help again. can you give me an example of how to create a menu in Oracle Forms? i didn't find something convincing.. so i need a menu ELEVI which has 2 menu items, AFISARE and CAUTARE. i don't know how to make them..
    i heard that the menu item WINDOW cannot be removed, is it true? can i specify then where should appear this menu item? i wanna the last 2 menus being WINDOW, and HELP (again, how to create a help menu item?). a short example i hope will clarify me..
    Thank you!

    just go on these links.and download these file...
    http://www.4shared.com/get/5945762/219ac795/Oracle_Developer_-ATutorial_on_Oracle_Forms_Reports_and_Graphics.html
    http://www.4shared.com/get/2314488/49ea48a1/oracle_ids_forms-build_internet_applications_ii-v1.html

  • Passing parementer frron forms to menu in oracle 6i form buider

    hello guys,
    i have to pass parameters from oracle 6i forms to the menus form.
    pl tell me how to do this?
    thanks & regards
    Vishal Agrawal

    965354 wrote:
    i have set menus.mmx fath to menu module property of the calling form.
    my problem is that i have to populate a list box of called form according to the value supplied by calling form.Declare global variable at calling form and use it in called form to populate list box.
    but form is called through menus.There is no issue with the menus.
    so first i need to pass that value to the menu .mmx and then menu.mmx will pass that value to calling forms.
    so please let me know how can i pass a value from form.fmx to menu.mmx.A global variable is available through out the user session. So it's not any other issue to use in within that session. In same session you can use it where you want.
    Hope it's clear to you.
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • I can not select oracle forms file type on translationHub import file menu,why?

    I had Create New Project Base Translation project,than,i press "Import File" menu,press "select files" button,
    and i found the file type list had "oracle report file(*.rex)" and "ALLfile(*.*)",but no Oracle forms file type list,
    Why,and i can do it ?

    Read this document on metalink 1559704.1

  • Problem to add Icon to menu option in Oracle forms

    Hello experts,
                          i am using Oracle fussion middleware 11.1.2 (oracle forms 11g) at windows 7.
    I am trying to make mu custom menu module with Icon images in oracle forms.I have done set property palette with
    Icon in Menu =Yes
    Icon file name=home.
    Here home.ico is my icon to corresponding menu item.
    But when I run the form having this menu,the menu is shown but there is no any icon,Please give me solution for that how can I add icons in menus.
    Thank You
    regards
    Aaditya.

    Hi,
    You can define a Form Function filling the basic information and
    HTML call Set as OracleOasis.RunDiscoverer. You can even define Paramters during the form function registration. With this definition you will able to create a link to a Discoverer workbook that will automatically open Discoverer Plus or Viewer to display the workbook using Apps security.
    Please refer to the following Metalink Note for more details:
    278095.1- How to Create a Link to a Discoverer Workbook in Apps11i
    Hope This helps
    - Sanjeev

  • Oracle form: how to retrieve data from database to pop list

    I have problem in retrieving data from database to item list in
    oracle forms.
    Can anyone help me.
    thanks.

    The next is an example but you can find this information in
    Forms Help:
    DECLARE
         G_DESCS RECORDGROUP;
         ERRCODE NUMBER;
         rg_id RECORDGROUP;
         rg_name VARCHAR2(40) := 'Descripciones';
    BEGIN
         rg_id := FIND_GROUP(rg_name);
         IF Id_Null(rg_id) THEN
         G_DESCS := Create_Group_From_Query (rg_name, 'SELECT
    DESCRIPCION DESCRIPCION, DESCRIPCION DESC2 FROM FORMAS_PAGO);
         ERRCODE := POPULATE_GROUP(G_DESCS);
         POPULATE_LIST('FORMAS_PAGO.CMBDESCRIPCION',G_DESCS);
         END IF;
    END;
    Saludos.
    Mauricio.

  • How do I pass a username form variable from a drop down list/menu to another page?

    Hi,
    I have a login_success.php page that has a drop down list/menu (which lists usernames). I want the user to click on their user name, and when they click the submit button the username information to be passed over to the username.php page which will contain a recordset, sorted by username.
    How do I pass the username info from the drop down list/menu to the username.php page?
    The drop down menu is connected to a recordset listUsername, I have filtered the recordset with the Form Variable = username, and I have used the POST method to send the username to the page username.php. I'm not sure how to structure the php or which page to place it on.
    <form id="form1" name="form1 method="post" action="username.php">
         <label for="username_id">choose username:</label>
         <select name="username_id" id-"username_id">
              <option value="1">username1</option>
              <option value="2">username2</option>
              <option value="3">username3</option>
              <option value="4">username4</option>
         </select>
         <input type="submit" name="send" id="send" value="Submit" />
         <input type="username" type="hidden" id="username" value="<?php echo $row_listUsername['username']; ?>" />
    </form>
    Could somebody help me please?
    Thanks.

    I would not post the variable over, In this case I personally would send it through the URL and use the $_GET method to retreve it. For Example.
    <html>
         <head>
              <title>Test Page</title>
              <script type="text/javascript">
                   function userID(){
                        //var ID = form1.userIDs.selectedIndex;
                        var user = form1.userIDs.options[form1.userIDs.selectedIndex].value;
                        window.location = "test.html?userID=" + user;
              </script>
         </head>
         <body>
              <form id="form1">
                   <select name="userIDs" id="userIDs" onchange="userID();">
                        <option>Select a User</option>
                        <option value="1">User 1</option>
                        <option value="2">User 2</option>
                        <option value="3">User 3</option>
                        <option value="4">User 4</option>
                   </select>
              </form>
         </body>
    </html>
    //PAGE TO RETRIEVE THE USERNAME
    <?php
    if(isset($_GET['userID'])
         $userID = $_GET['userID'];
         echo $userID;
         die;

  • How do I make my form (list/menu) items open in the same window (self).

    Hello, the kind, brilliant people on this forum have always been able to help me in the past, so I thought I'd give it a try today. Items in a form (list/menu) that I've created are opening in a blank window (pop-up) when clicked. I would like them to open in "self" mode so that pop up blockers on various computers don't become a challenge for site visitors. Can anyone please tell me how I could make that adjustment? I selected the entire form "red dotted line" around the list and changed the "target" in the properties menu to "self". Then I selected everything on the page and still not correct. I am inserting the code below. Any assistance to get me on the right track would be GREATLY appreciated!! BTW I also made the form a library item (just in case that fact is needed). Also if you need to see the actual link it is http://www.graphicmechanic.com/DEKALBCOUNTY/index.html. The "I WANT TO" list is the part I'm referring to.
    CODE BELOW:
    <form action="" method="post" name="form1" target="_self" class="style26" id="form1">
                       <a href="#" target="_self"><span class="style26">
                       <label FOR="iwantto">I WANT TO:</label>
                       <br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        <select name="iwantto" id="iwantto" class="style55" onchange="MM_jumpMenu('window.open()',this,0)">
                          <option value="http://web.co.dekalb.ga.us/voter/#">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
                       </span>
                       </a>
    </form>

    Looks like it still isn't working. When I removed those items the drop down menu stopped working as well. I went ahead and posted yours as the correct answer. I'm convinced it's my skill level. i'm gonna do some javascript searches to see where the js code should go, it's very confusing to me. Here is that code in case anything sticks out to you or anyone else.
    <link href="../cssfiles/lbistyles.css" rel="stylesheet" type="text/css"/>
    <form action="" method="" name="form1" class="style26" id="form1">
                     <span class="style26">
                       <label FOR="iwantto">I WANT TO:</label>
                       <br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        <select name="iwantto" id="iwantto" class="style55">
                        <option value="#" onClick="MM_goToURL('self','http://web.co.dekalb.ga.us/voter');return document.MM_returnValue">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
                       </span>
                       </a>
    </form>

  • Oracle forms standard/default menu - Record Delete option

    Hi ,
    Oracle forms provides a standard menu with the below options.
    Action , Query , Block , Record , Help etc.
    Under each of these Menu options there are sub options.
    Eg: Under Record we have Previous , Next , Insert , Delete etc.
    Can someone please tell me how to control this menu item options for different forms.
    Eg: for 1 form i want to allow the Record - Delete option but for another form i dont want to give this option.
    How to do this ??
    Please help....
    I tried to search for the solution but couldnt get the right answer. Hope someone will help me out here.
    Regards,
    SRT

    Hello,
    The Oracle Forms documentation states:
    The Default menu is built-in to every form, and is not a separate menu module.
    You cannot change the structure of the Default menu or edit the menu items it
    displays.
    If your application requires
    unique menu functions, you must create a custom menu module and attach it to
    your form.
    If the internal default menu almost meets your needs, you can attach the
    "menudef.mmb" approximation of the default menu to the form. You can then
    rename and edit this menu.
    You can download the demo version for 10g R2 and menudefs_10g.mmb is included with the demos.
    http://download.oracle.com/otndocs/demos/Forms_Demos_10gr2.zip
    You will get menudef_10g.mmb and menudefs_10g.mmb.
    If needed check metalink note:
    Differences between menudef.mmb and menudefs.mmb menu files. [ID 1081136.1]
    Kind regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

Maybe you are looking for

  • Text Caption help

    Hello Captivate Gurus, I am not sure if this is a glitch, but I am trying to include a transparent text caption and it does not appear when I publish my project. I have transparent captions throughout the project, so I am not sure why this particular

  • How to re-add purchased songs from my account to another itunes?

    hey, I had my laptop stolen and I'm currently borrowing one until I get a new one. I've changed my password etc. for my itunes account so it can no longer be accessed on my stolen laptop. But I'm wondering if it's possible to re-add my purchased song

  • Prints gibberish in headers and footers in emails or web pages.

    I have an HP J4540. The headers and footers print gibberish either in email or a web page. The body of the text is fine. It prints fine in Internet Explorer but not in Firefox.

  • Image Burn????

    So if I have a Sony 57" Grand Wega HD-TV that has rear projection CRT, won't I get image burn from the hard drive icon and the menu bar? If the icon was animated it wouldn't be a problem and if I could hide the menu bar until I rolled over it, I thin

  • Howto capture/debug java.lang.VerifyError?

    Hi, is there any way of trapping this VerifyError , or make it more verbose in order to debug-it? I am using eclipse/jboss-ide/jboss. Here is content of the eclipse console in verbose mode : [Loaded sun.reflect.GeneratedSerializationConstructorAccess