List item display in Oracle forms 10g

hi,
I have created the list item with pop-list in forms.When i retrieve the data using record group in the list item ,i need to display two column data in single list item i.e emp id , emp name .
select emp_id,emp_name from emp where mgr_id = 100;
i tried this query in record group but its coming emp id only, not name .
Can u tell the solution as soon as possible

Hi,
In List Item, the First column will show in the list, and the Second column will be stored. To show both columns in list, u have to concatenate both fields and make it as first column. And i think you have to save the EMP_CODE, not EMP_NAME in database.
So the record group will be
SELECT EMP_ID || ' - ' || EMP_NAME EMP_NAME, EMP_ID FROM EMP WHERE MGR_ID = 100; Or you can use LOV to display multiple columns.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • Display in "Oracle Forms 10g" a BLOB item

    Hey, anybody know if there was any java component or a way to display in "Oracle Forms 10g" a BLOB item, which contains no images, but files of type PDF, DOC, TXT ....
    Thank you

    <p>The Enhanced HTML browser bean allows showing amost everything in its window. See this screen shot</p>
    So you could download your stored document onto the AS or the client with the Webutil FILE_TRANSFERT package, or you could envisage top develop
    a nice PL/SQL procedure that would send the content via the UTL_HTTP package.
    Francois

  • Displaying the Oracle Forms 10g

    Hi Everyone,
    I need help on this one.
    I am currently running Oracle Forms 10g and I want to display the Calendar object on an item in my module.
    I have attached the relevant libraries i.e Calendar and added the program units as required so in my module there are two additional data blocks that is
    DATE_CONTROL_BLOCK and DATE_BUTTON_BLOCK and I have my canvas and the DATE_LOV_CANVAS.
    What code do I had to the KeyListVal trigger to enable me to display the Calendar at runtime?

    Hi,
    Actually what I want to find out is how to include a
    Calendar in my Form Module at runtime.That wasn't your initial post's question, and what do you mean by at runtime??
    You need to have the objects you stated in your first post in the form to be able to show the calendar at runtime.
    If you have the Forms Demo read the help files they have explained everything in it. If not you can download it from [url http://www.oracle.com/technology/sample_code/products/forms/index.html]here
    Tony

  • 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

  • List item problem in oracle forms 6i

    Hello,
    I've 10 test filed, in-front of each text field there are 10 list item (separate list item)
    for each list item element list is given below
    Route
    Customer name
    Delivery date
    Delivery Time
    Delivery Session
    Expected received
    Actual Received
    Fresh Received
    Rate per liter
    Debit Amount
    On text fields I am fetching records from another file. User will map the list item with text item.
    What i want to check is, list item should not get repeated. i.e suppose I've run time display like this
    text item
    list item
    A
    ROUTE
    B
    DELIVERY DATE
    C
    DELIVERY TIME
    D
    DELIVERY DATE
    E
    EXPECTED RECEIVED
    F
    ACTUAL RECEIVED
    G
    FRESH RECEIVED
    H
    RATE PER LITER
    I
    DEBIT AMOUNT
    J
    DELIVERY SESSION
    on text filed B- DELIVERY DATE is assign and at text field D again DELIVERY DATE is assign. I want to avoid this thing and prompt the user regarding the same. How should I go about this? Should I design a button for validation, if yes then what should be the code? or should i go with WHEN-LIST-CHANGE? if so, then what should be the code?
    my design time display is like this
    text
    list item
    txt1
    lst1
    txt2
    lst2
    txt3
    lst3
    txt4
    lst4
    txt5
    lst5
    txt6
    lst6
    txt7
    lst7
    txt8
    lst8
    txt9
    lst9
    txt10
    lst10
    please suggest something
    Thank You
    Sam

    THe most user-friendly way would be to remove elements from all other lists when they are chosen once. You would have to have a WHEN-LIST-CHANGED-trigger on all listitem and populate the the listitems accordingly.

  • List item problem in oracle form

    i have list item that is populate from table. e.g list item contain issued,received,forward to finance,cancelled,
    if i insert in the issued in table thats values will be shown in list item but not selected means disabled which means that this value once inserted in the table for that record.
    after that when recieved is inserted for that particular record this means that issued and received is disabled in list item....
    i want such dynamic list item which that is shown all values in list item but that values once insert in table these value is disabled in list item not selected by user for particular record...

    Hi,
    We can't disable the lov field but we can eliminate such field from lov by using GTT:
    Re: How to update the LOV without commit

  • BMP is not displayed in Oracle Forms 10g

    Hi,
    I am trying to display logo on the custom logon form.
    I have created an image item in the block. The following code is written in WNFI
    DECLARE
    Master_image VARCHAR2(80) := 'SS.bmp';
    BEGIN
    set_window_property(forms_mdi_window, window_state, maximize);
    set_window_property(forms_mdi_window, Title, 'Accounting System');
    READ_IMAGE_FILE(master_image, 'BMP', 'image_master');
    END;
    But the BMP is not getting displayed.
    Am i missing something here?
    Thanks
    AT

    Hi Gerd,
    I thought so.
    But it is working same way in another application also on 10g.
    I do not have access to that form but i got the above mentioned code used there and i tried to use it in my form.
    Can think of something?
    Thanks
    AT

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • Using of google map in oracle forms 10g

    Hello,
    We are on Oracle Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    We want to show the Employee's Hose location in the form when city,street and state is entered.
    We are using the following PJC
    http://forms.pjc.bean.over-blog.com/article-26335020.html
    But when i run it i do not get anything in GMAP.
    I appreciate if I can get some help for the above requirements.
    Thank you.

    hello sir,
    I am running my form from the form Builder.
    I have copied my jar file into E:\DevsuiteHome_1\forms\Java Folder.
    Updated formsweb.cfg file as
    archive_jini= frmall.jar,frmwebutil.jar,jacob.jar,StaticGMap.jar
    and updated default.env Class path
    I got the following error: on java console
    Oracle JInitiator: Version 1.3.1.30
    Using JRE version 1.3.1.30-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides:
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://polish_dap-2:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jacob.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/JCalendarJinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jcalendar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/AWTFileDialog.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/FileDropper.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/statusbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/lablediconbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/dynamicmenu.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/ComboMenuBar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/StaticGMap.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/personalize.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/progressbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/rolloverbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/getclientinfo.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • BI GRAPHS IN ORACLE FORMS 10G

    AFTER FINDING SOLUTION TO MAKE GRAPHS CUSTOMIZATION IN ORACLE FORMS 10G, I was suggested to use BIGRAPH so installed all package(formsgraph.jar and whole demo package) and I configured properly all my files. But graph.fmx which exist in demo when run on browser does not display any graph on bean area it might be as no data retreived or data not populated due to bug in fmb . I made new temp.fmb by only creating single item and bean on canvas. On validating item I wrote following syntax.
    BEGIN
         IF (:BLOCK1.TEXT_ITEM5 = ' ') THEN
         message('validating');     
         set_custom_property('block1.BeanArea1',1,'GRAPHTYPE','HORIZONTAL_BAR');
    set_custom_property('block1.BeanArea1',1,'ENABLE_TOOLTIPS','ALL');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'SET_DELIMITER',',');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Sales,25000');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Sales,70000');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Taxes,2500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Taxes,2500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Savings,22500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Savings,67500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_DATA_TO_GRAPH','');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','UK,Taxes,67500');
    set_custom_property('block1.BeanArea1',1,'SHOW_GRAPH','');
         END IF;
    END;
    Still surprise as forms open successfully on Web browser but no chart displayed. I am really fade up as I required lot of time to install demo version in my original oracle 10g software. My boss say how can new version have no features of graphics. I can not tell or say to buy that oracle graphics are customized in Oracle 11g.
    If anybody have solution for above, please reply.
    Thanks,
    Prashant

    Hello Omama,
    Problem of Bi Graphs have been solved by running url with extension as config=Bigraph. For my next problem in graph of 10g I am going to post new thread as BI Graphs does not serve my problem. Anyway Thanks.
    Regards,
    Prashant

  • Issue running when Oracle Forms 10g

    Hello Experts,
    I have installed Oracle forms 10g (Developer Suite 10g) on my machine. But when runnig the forms, it doesn’t load the form, says ‘Applet loaded’ and stops executing.. In Console it gives the following error :
    Have tried installing on a fresh copy as well but it give the same/similar issue.. Wasted lot couple of days on this now
    Using IE 8 and tried on IE 7 as well.
    I am runnng this through Forms builder
    Can anyone help me on this...
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    User has overriden browser's proxy settings.
    Proxy Configuration: Manual Configuration
    Proxy: proxy.dialog.dialoggsm.com:8080
    Proxy Overrides:
    JAR cache enabled
    Location: D:\DevSuiteHome_2\forms\java
    Maximum size: unlimited
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Downloading http://aaa-073-114.softcom.bigsoftcom.com:8889/forms/java/frmall_jinit.jar to JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------

    Using IE 8 and tried on IE 7 as well.
    Oracle JInitiator: Version 1.3.1.22Oracle Jinitiator is not compatible with IE 7/8, you have to use the Sun JRE 1.6.0._16 or higher instead. Take a look at section *2.2 Oracle Forms Applications on Client Platforms* in the Oracle Application Server 10g (10.1.2) Certification Matrix.
    After installing the Sun JRE 1.6.0, you will need to modify the %DEVSUITE_HOME%\forms\server\formsweb.cfg to set the correct JRE version information. Make the following changes:
    # System parameter: base HTML file for use with JInitiator client
    #-- Original
    #baseHTMLjinitiator=basejini.htm 
    #-- New
    baseHTMLjinitiator=basejpi.htm  
    #-- Original
    #jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html 
    #-- New
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/index.html 
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # -- New (this entry specifies update 16)
    jpi_classid=clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA
    # OR, you can instruct OAS to use any version of Sun JRE 1.6.0
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # -- New
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,22
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # -- New (Specifies update 16)
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_16
    # -- OR use any version of 1.6.0
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Error while importing java class into oracle forms 10g

    Hi
    I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
    Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Thanks in advance

    Do you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
    If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
    Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub

Maybe you are looking for

  • ITunes crshes when i connect 5th gen iPod 30 gig...

    iTunes wants to close when I connect my iPod(5th generation 30 gig w/ video) to my (Windows Vista) PC...

  • Cap. 5 -- Shuffled Answers of varying lengths not vertically aligning

    I created a question pool all mutiple choice and have the answers in each question slide set to shuffle.  The answers on some slides are different lengths (some one line, some two).  I have tried to make all of them the same size, align vertically, h

  • MS5182 Machine will not reset.

    Hi I know this is an old board but a friend has asked me to look at it for him. I have done a clean install of Win Me. At this point the reset facility works fine. Somewhere between fully updating ME from Microsoft.com and installing office 2000 all

  • Urgent:How can to control passing inputs to BAPI from different sources

    Hi all, I'm stuck up with an issue. I'm passing a user entered input to a webservice checking for status of that particular record. If status is "yes", I just call a form. I have used the visibility control for displaying the form If Status is "no" I

  • IPMP Configuration

    hi i need to kno whow to configure ipmp on solaris 10 in order to overcome the issue the cross cables are not supported. my environment looks like as follows: no third party cluster. cluster environment is built using raw partitions s5 and s6 with ex