GET_FILE_NAME NOT WORKING IN ORACLE FORMS 9I

PLEASE HELP THIS COMAND WORKING IN FORMS 5 BUT NOT
WORKING IN FORMS 9I TO OPEN THE DAILOG BOX AND GET IMAGE FILES
TO SAVE ON FORMS 9I PLEASE HELP.
declare
salfile varchar2(255);
begin
salfile:=get_file_name('C:\emp\',NULL,'JPG FILES (*.JPG)|*.JPG|','IMAGE LIST');
read_image_file(SALFILE,'ANY','ISLAM.EMP_IMAGE');
END;
THANKS & REGARDS.
M.Z.ISLAM

Forms 5 is a client/server application, so it looks for files on your local c: drive.
Forms 9i is a web application, so in principle it will now look on the server's c: drive.
However, get_file_name is not a standard Forms procedure. My guess it that it is one of your own procedures and it uses the d2kwutil library. This library won't work in a web environment.
If you want to do something with files on your local PC in a web envirionment, you will have to use webutil.

Similar Messages

  • Copy/Paste functionlity is not working in oracle forms 11g

    Hi All,
    We are using custom built big application (oracle 11g/forms 11g).
    1. And few user are not able to copy/paste from oracle forms 11g to winword.And its random sometime they can ,sometime they can't .
    2. If they have problem means they have copy/paste issue and (When we close application and run it again it is working fine)
    3.it's random we are not able to re-produce in development environment.
    What i noticed both user have problem and both are using left hand mouse ,generally we use left/right they are using right/left.
    Here the Environment Detail:
    Java runtime :1.6.0_26
    Weblogic server
    oracle forms 11g
    So just wondering is there any changes required. Seniors/Guru please advise.
    Thanks!

    It is very important to make clear which direction you are going. If you are not able to copy from Forms and paste to an external application, this could be any one or more of the following:
    1. There is a problem with the JRE. Consider uninstalling ALL currentlly installed JREs and install the latest supported version 1.6.0_33
    2. There may have been an issue with the Forms version you are using. Be sure you are using 11.1.1.6 or 11.1.2.0. If not, install the latest patch.
    3. The JRE was unable to properly identify or store the digitial signature in the Forms jar file or one which you included (custom code). If you are using any customer jar files, ensure that they have been properly signed. Also be sure that JRE cache is being stored on the local client machine and not a remote location as this is not supported. If you have not altered the default, the cache is stored in the user's home directory under Application Data (AppData for Win7)
    4. Could be a mouse driver issue. Go to the mouse vendor's web site and get the latest driver for that mouse. Do not use the MS drivers.
    Example:
    C:\Users\<USER NAME>\AppData\LocalLow\Sun\Java\Deployment\cache
    So, recommendations:
    1. Uninstall all JRE versions currently installed. Install 1.6.0_33
    2. Ensure that you are using 11.1.1.6 or 11.1.2.0
    3. Clear the JRE cache. To do this close ALL open browsers and open the Java Control Panel. Look on the General tab for Temporary Internet Files > Settings > Delete Files > Ok
    4. Install the latest mouse driver.
    5. Retest
    Edited by: Michael Ferrante (Oracle) on Jul 25, 2012 2:58 PM

  • Mouse Scroll Not Working in oracle forms

    Hi,
    I Created a master and detail block.. In Detail block following Properties i set
    No. of Records to be displayed : 10
    Scroll bar : no
    Without having the scroll bar i wannt to check all the records in the detail Block.
    for this i created key_scrolldown trigger in form levl called thye builtin
    SCROLL_DOWN;
    i'm using Oracle 10g.. JIniator for Running Oracle Forms
    applying this Coding this function is not working..
    Can anybody tell this How to oversome from this...???
    Cheers.

    What version of Oracle Forms are you using? You should always include this in your posts. :)
    Mouse scrolling is only enabled in Web runtime of Forms - so you must be using Forms 9i or higher.
    Does JRE Support mouse scrolling function?If memory serves, Mouse scroll was first introduced in Java 1.5.0. Therefore, if you want enble the mouse scroll wheel in Forms, you must be using JRE 1.5.0 or higher. I strongly recommend you use Java 1.6.0_33 or higher - but do not use Java 1.7.0 as it has not been certified with Oracle Forms yet.
    In order to use the JRE over the Jinitiator, you must modify your configuration to enable use of the JRE. Please take a look at Oracle 10gR2 Forms Services – Using Sun's Java Plug-in. This Oracle White Paper is for Forms 10g Release 2, but the instructions are basically the same for 9i and 11g as well.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • DDE.initiate is not working in oracle forms 10g

    Previously i have used DDE for uploading the data from excel to DB in oracle forms 10g.now it is throwing non-oracle exception at DDE.intiate.
    could you please help me to solve this issue.
    i use the below code
    APPLICATION := OLE2.CREATE_OBJ('EXCEL.APPLICATION');
         ole2.set_property(application,'Visible','false');
         WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION,'WORKBOOKS');
         ARGS := OLE2.CREATE_ARGLIST;
         OLE2.ADD_ARG(ARGS,:PARAMETER.P_SERVER_FILE_NAME);
         WORKBOOK := OLE2.GET_OBJ_PROPERTY(WORKBOOKS,'OPEN',ARGS);
         OLE2.DESTROY_ARGLIST(ARGS);
         WORKSHEETS := OLE2.GET_OBJ_PROPERTY(WORKBOOK,'WORKSHEETS');
         WORKSHEET := OLE2.GET_OBJ_PROPERTY(APPLICATION,'ACTIVESHEET');     
         M_CONVID := DDE.INITIATE('EXCEL',:PARAMETER.P_SERVER_FILE_NAME);

    Hello,
    Do not use DDE.intiate.Comment that line.As per your code the file is already open.
    Here is a good example in this metalink note:
    How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1)
    Regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • Host('sqlldr') is not working in oracle forms 10g

    oracle database version:10.1.2.0
    oracle forms version:10g
    client ans server are on the same machine.
    when i am trying to load the file in to oracle,i wrote the when-button-pressed trigger as
    host('sqlldr');
    when i run the form its not giving any result.
    i tried by using batch file also itn is giveing the error like
    message 2100 not found

    What happens when you run "SQLLDR" from a command window? It sounds like the directory where the SQLLDR executable is located is not in your PATH. You can either add it to your path or fully qualify the path to the executable as Christian suggests.
    Craig...

  • JavaBean not working with Oracle Forms (URGENT)

    I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from the form to the bean and get a parameter back to the form from the Javabean. The bean is called on the when-button-pressed event of a form button. The problem is, the form doesnt seem to invoke the bean at all. There seems to be no communcation between the form and the bean at runtime on-click of the form button other that all the messages in the form procedure being displayed.
    The event code for the button is,
    Declare
    setNewMsg varchar2(2000) := 'Hello World';
    getData varchar2(2000);
    BeanHdl Item;
    Begin
    BeanHdl := find_item('Block3.MYBEAN');
    If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
    Else
              Message('The ID is null');
              Message(' ');
    End If;
    END;
    The javabean code is,
    package oracle.forms.beans;
    import java.awt.*;
    import java.io.*;
    import java.beans.*;
    import oracle.forms.ui.*;
    import oracle.forms.properties.*;
    import oracle.forms.handler.*;
    import oracle.ewt.lwAWT.*;
    public class SimpleTestBean extends VBean { 
    public static final ID SETMESSAGE = ID.registerProperty("setMessage");
    public static final ID GETMESSAGE = ID.registerProperty("getMessage");
    private String msg = "";
    public String newMessage() {
         return msg;
    public Object getProperty(ID id) { 
         try { 
              if (id == GETMESSAGE) { 
                   return newMessage();
    return super.getProperty(id);
    catch (Exception e) { 
         e.printStackTrace();
    return null;
    public boolean setProperty(ID id, Object value) { 
         try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
    catch (Exception e) { 
         e.printStackTrace();
    return false;
    Thanks

    Hi,
         I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from Oracle Form(Ver 6i) to the java bean and get a parameter back to the form. The Javabean is called on "When-Button-Pressed" event of a Form button. The problem is, Form doesn't seem to invoke the bean at all. There seems to be no communication between the Oracle Form and the Javabean at runtime.
         On-click of the Form button though all test messages in the Form trigger are being displayed (Even message before and after the Set_Custom_Property & Get_Custome_Property). The only issue is the Form variable doesn't show the returned value from the bean. So the big question is - Whether the bean is invoked at all or not.
         If YES then how to check it and if NO then how to communicate with the bean from Oracle Form. I am attaching the code of Javabean and trigger code.
    Thanks & Regards
    NOTE : All the ClassPath for the JavaBean has been set properly and the Form is also recognizing the Implementation Class for the Javabean.
         The Trigger Code is,
         --- This code is written on When-Button-Pressed trigger of Form button.
         --- The form also contains the bean area "MYBEAN", which i have referred in the code.
         Declare
              setNewMsg varchar2(2000) := 'Hello World';
              getData varchar2(2000);
              BeanHdl Item;
         Begin
         BeanHdl := find_item('Block3.MYBEAN');
         If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
         Else
              Message('The ID is null');
              Message(' ');
         End If;
         END;
    The Bean Code is,
         package oracle.forms.beans;
         import java.awt.*;
         import java.io.*;
         import java.beans.*;
         import oracle.forms.ui.*;
         import oracle.forms.properties.*;
         import oracle.forms.handler.*;
         import oracle.ewt.lwAWT.*;
         public class SimpleTestBean extends VBean { 
         public static final ID SETMESSAGE = ID.registerProperty("setMessage");
         public static final ID GETMESSAGE = ID.registerProperty("getMessage");
         private String msg = "";
         public String newMessage() {
              return msg;
         public Object getProperty(ID id) { 
              try { 
                   if (id == GETMESSAGE) { 
                        return newMessage();
    return super.getProperty(id);
         catch (Exception e) { 
              e.printStackTrace();
              return null;
         public boolean setProperty(ID id, Object value) { 
              try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
         catch (Exception e) { 
              e.printStackTrace();
              return false;
    ------------------------------------------------------------------------------------------

  • Headstart forms - down key does not work in Oracle Forms 11g

    Just moved forms from 10g to 11g.
    But when run the down key does not work. The .res file looks OK.
    I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
    Anybody had this isssue?

    It was an erroneous .res-file! So problem solved. :-)

  • Client_ole not working on oracle forms 11g

    hello,,,
    I have configured webutil in forms 11g ( Doc ID : 1093985.1) step by step and finally
    i installed webutil demo from ( Doc ID : 1272222.1)
    When I test it works fine , everything works fine except OLE --> write to MS Word , when i enter some text and pressed on it ,nothing happening ulness if i check or unchecked "Silent?" .
    img :: -------------------------------> http://www.orafaq.com/forum/fa/10911/165137/
    My platform :
    Red Hat 4
    Weblogic 10.3.6
    Forms and reports 11g
    Any help

    It is very important to make clear which direction you are going. If you are not able to copy from Forms and paste to an external application, this could be any one or more of the following:
    1. There is a problem with the JRE. Consider uninstalling ALL currentlly installed JREs and install the latest supported version 1.6.0_33
    2. There may have been an issue with the Forms version you are using. Be sure you are using 11.1.1.6 or 11.1.2.0. If not, install the latest patch.
    3. The JRE was unable to properly identify or store the digitial signature in the Forms jar file or one which you included (custom code). If you are using any customer jar files, ensure that they have been properly signed. Also be sure that JRE cache is being stored on the local client machine and not a remote location as this is not supported. If you have not altered the default, the cache is stored in the user's home directory under Application Data (AppData for Win7)
    4. Could be a mouse driver issue. Go to the mouse vendor's web site and get the latest driver for that mouse. Do not use the MS drivers.
    Example:
    C:\Users\<USER NAME>\AppData\LocalLow\Sun\Java\Deployment\cache
    So, recommendations:
    1. Uninstall all JRE versions currently installed. Install 1.6.0_33
    2. Ensure that you are using 11.1.1.6 or 11.1.2.0
    3. Clear the JRE cache. To do this close ALL open browsers and open the Java Control Panel. Look on the General tab for Temporary Internet Files > Settings > Delete Files > Ok
    4. Install the latest mouse driver.
    5. Retest
    Edited by: Michael Ferrante (Oracle) on Jul 25, 2012 2:58 PM

  • Insert Statement is not working in Oracle Form

    Hi all,
    I have developed a custome form from the scarch.
    I have one button on that for called "PROCESS"
    when I cick on the PROCESS button it should insert record in to one custome table.
    I have created custom table in custom schema and given grant to Apps user. as well as I created synonym in Apps for that table.
    The code for WHEN-BUTTON-PRESSED
    DECLARE
    *     l_user_id NUMBER:=FND_GLOBAL.USER_ID;*
    *     l_date DATE :=SYSDATE;*
    BEGIN
    *     FOR i IN REFUND_DETAILS.transaction_tbl.FIRST..REFUND_DETAILS.transaction_tbl.LAST*
    *     LOOP*
    *          fnd_message.DEBUG('l_user_id'||l_user_id);*
    *          fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).OU_NAME);*
    *          fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).cust_account_id);*
    *          fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).receipt_number);*
    *          fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).refund_amount);*
    INSERT INTO xxkci_ar_refund_details
    VALUES(REFUND_DETAILS.transaction_tbl(i).OU_NAME,
    REFUND_DETAILS.transaction_tbl(i).cust_account_id,
    REFUND_DETAILS.transaction_tbl(i).receipt_number,
    REFUND_DETAILS.transaction_tbl(i).refund_amount,
    *'1223',--:CUSTOMER.pn_ref,*
    *'SUCCESS',--:CUSTOMER.status,*
    *'DONE',--:CUSTOMER.MESSAGE,*
    l_user_id,
    l_date,
    l_user_id,
    l_date);
    *     END LOOP;*
    *     COMMIT;*
    END;
    when I am running the form from front end and cliking the process button it is throughing the bellow error.
    ora-01031 insufficient privileges.
    As I have given all the grant for Apps user.
    When I am running the same insert satement in toad for the Apps it is working fine no error.
    Its Urjent please required a help on this.
    Thanks
    Nihar

    Have you tried to give the grant to APPLSYS user as well and see if this helps?
    If you still get the same error, please obtain the FRD file for details about the error -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FRD&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Oracle Forms 10G not working as Oracle 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

    :System.message_level has nothing to do with how you check the flow of execution, or whether you use the Message statement. :System.Message_Level is a Forms variable that can be set to a numeric value. If you set it > 0, it hides error messages, which you should NOT do. Is there anywhere in your form where it is set? If there is, make sure it is set to zero while you are testing.
    <P>Since you are using regular message statements to debug (Re: Zdebug -- Download a Forms debugging message tool), you should determine if the process that sets up the tabbed canvases is being executed.

  • Right click is not working on oracle form

    Hi
    I created a custom form using template.fmb
    When user trying to pasted some data into text field and right clikc the mouse , the popup menu is not coming.
    Actually nothing is happening when right click the mouse.
    Please help me on this one and let me know if I am missing any setups or any libraries .....
    Thanks
    Kiran.

    Unfortunately, you have to assign the Popup menu to each item using the Popup Menu property of the item. Also, unfortunately, the Set_Item_Property() built-in does not allow you to set this property at runtime; you must set the property value during design. You can use the JDAPI Java library to dyamically modify your Forms binaries (.fmb). Search the forum on "JDAPI" for information about using this library. If you are not Java proficient, then only option available to you would be to select all of the items you want to use this popup menu and set the property in mass.
    Craig...

  • Table_From_Block Build-in Package is not working in Oracle 10G

    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..

    user648759 wrote:
    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..Provide a little more information. Forms version OS version, more information about your problem and question.
    --and explain what on earth Table_From_Block* mean's--
    Tony
    PS: TABLE_FORM_BLOCK is a built-in for internal use, usually auto generated by forms. For a moment I didn't get what that meant, need more coffee.
    Edited by: Tony Garabedian on Aug 29, 2008 12:39 PM

  • Key functions are not working in oracle11g forms

    I have migrated a oracle 10g form to oracle 11g form
    1.Key function such as down arrow,up-arrow is not working in oracle11g forms though key-down etc trigger have been written.
    2.Tree node function,i mean when i try to call form from a child node ,it required 4-5 click.
    Can anyone help me for these issue

    Next_form function is not working.i have copied the .res file from 10g.So the issue like this,when i master forms calls(by using open_form in when-window-activate trigger)to a child form and the child form having (when-window-activate trigger)next_form to return the cursor in the master form,it got hang in 11g.This is problem.i have checked by creating the same.Could you help me for the same.this code is running fine in 10g.

  • Execute Query not working on custom forms

    Hi
    After upgrading from 11.5.10.2 and Oracle 9.2.0.5 to ATG6, AD6, oracle 10.2.0.4, Forms 6.0 (Form Compiler) Version 6.0.8.28.0 . The execute query (F11 & CTRL F11) is not working on custom forms. But after tabbing from one column to another column then press CTRL F11 is working.
    Please any one help me on this issue.
    Thanks
    sva

    Hi
    I found this error in the trace file. Please help me what is the problem, the data is there in the table.
    Out Argument 0 - Type: String Value: ORA-01403: no data found
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: parameter.G_query_find
    Out Argument 0 - Type: String Value: NULL
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND MESSAGE_CLEAR
    MCXQPBULKINVOICEENTER, -1, Built-In, Entry, -1196178744, USER_EXIT
    TSE FSERVER_START -1 1407 1279530838565801000
    TSE FSERVER_END -1 0 1279530838579778000MCXQPBULKINVOICEENTER, -1, Built-In, Exit, -1196091744, USER_EXIT
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_debug.clear
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_GROUP Built-in:
    In Argument 0 - Type: String Value: APP_DEBUG
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_debug.free.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing MESSAGE Built-in:
    In Argument 0 - Type: String Value: FRM-41003: This function cannot be performed here.
    In Argument 1 - Type: Number Value: 121
    Unhandled Exception ORA-100501
    State Delta:
    MCXQPBULKINVOICEENTER, -2, Trigger, Exit, -1190876744, ON-ERROR
    ##### CTIME STARTS HERE
    # 8 - MCXQPBULKINVOICEENTER:BLOCKNAME.RADIO_BUTTON81.1279530839956685000
    KEY Execute_query
    Error Message: FRM-41003: This function cannot be performed here.
    N-ERROR Trigger Fired:
    Form: MCXQPBULKINVOICEENTER
    State Delta:
    MCXQPBULKINVOICEENTER, -2, Trigger, Entry, 181183256, ON-ERROR
    MCXQPBULKINVOICEENTER, -1, Prog Unit, Entry, 181304256, /MCXQPBULKINVOICEENTER-3/P58_07_DEC_200909_04_40
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_standard.event. Event is ON-ERROR.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing ERROR_TYPE Built-in:
    Out Argument 0 - Type: String Value: FRM
    Executing ERROR_CODE Built-in:
    Out Argument 0 - Type: Number Value: 41003
    Executing ERROR_TEXT Built-in:
    Out Argument 0 - Type: String Value: This function cannot be performed here
    Thanks
    sva

  • Triggers not working in Oracle 9iAS

    The form triggers are not working in oracle 9i AS.
    My Application server has Linux operating system with oracle form/report server installed. I am able to upload the form
    in the client machine (using Internet Explorer Win98 OS). Also i can feed in the data but none of my triggers are working (WHEN BUTTON PRESSED and other validation triggers).
    Can anyone suggest what to do pls.
    Tnks in advance
    Rgds
    Manoj Philip
    [email protected]

    Well we've tested on Linux and the trigger do work - I remember two other postings on this forumn from prople with the same problem:
    Re: SQL Developer Necessities
    Re: About  EXPLAIN PLAN table
    In one case the problem was not re-compiling using f90genm.sh, in the other it was something to do with the Machine setup but I don't know what the final resolution was.
    The only other thing is to make sure that you are on a certified linux release for using with iAS e.g. Redhat Server 2.1 and Suse Enterprise server 7 and Untited Linux
    You can check the current certifications on Metalink.oracle.com

Maybe you are looking for

  • Round Edged boxes in rtf templates

    Hi all, I have been really struggling to design rtf templates for XML Publisher with round edged boxes. The client requirement is to have all the tables/objects that contain data to have rounded edges..Just like a flowchart box.. I have tried using t

  • Exchange 2010 SP3 UR2 and Event 4999 = AirSync, M.E.Data.Storage, M.E.D.S.AppointmentTombstone

    Hello together, i'm having the following event on my cas servers every about 30 minutes: Event 4999 MSExchange Common Watson report about to be sent for process id: 5780, with parameters: E12, c-RTL-AMD64, 14.03.0151.000, AirSync, M.E.Data.Storage, M

  • Updating pdf files in iweb site

    I have a site with several pdf files linked throughout the site. These pdf's get updated regularly, and I assumed that if I replace them with a new file named the same, it would update on the website. Strangely it does not. The only way I can get the

  • Automatically create landscape album?

    Is there any way of automatically selecting only landscape (or portrait) photos, and then deselecting specific ones to create an album? Cheers!

  • Text in particular format in RTE

    Hi, I have one tab which contains path field button, after selecting the path and comes back to dialog text area, it should show the path in particular format @{/content/mywebsite.interest}, and after i click ok , it should call a service which shoul