Showing Popup advances in oracle forms 6i

Hi gurus,

I develop a form (6i) in which I have a requirement that

I'll call a stored procedure in my form, procedure will return a pl/sql output data collection and collection filled in my block (block no DB). sometimes process will consume time for data extraction.

I have a requirement to display a progress popup, before calling the procedure and once the procedure return data, I need the popup closes automatically. pop-up message to change according to the input passed to the procedure.


To do this, I created a new dialogue window, in the Web of dialogue, block with the point of a text whose width and height is 0, I dynamically change the prompt of the text element to display the message. now the problem is if have a batim message before the go_item of the progress window, window appeared, otherwise it will not.


Message "(veuillez prendre note de paquet Explosion processus prendra un certain temps');" (if I remove this buildin message, it does not appear under the window)

Set_Item_Property('BLK_PROGRESS.) TEXT_BOILER_PLATE ', Prompt_Text,' Please wait a few seconds, package Explosion asks pallet / box ' |: Blk_View_Rma_Serial.Text_Package_Num | "is in progress now..." ») ;

Go_Item('BLK_PROGRESS.) TEXT_BOILER_PLATE');

Go_Block ('BLK_PROGRESS');

Show_View ('CANVAS_PROGRESS');

fnd_message. Set_string ('package is complete Explosion');

Fnd_message. Hint;

I change all the possible sequence of the go_item, go_block, display as well., but same result. If I add fnd_message buildin instead of message as it leads to the same result, poster not the window message.

Please help me solve this problem.

Thank you

See the article from the Blog of Francois Degrelle: forms: a progress bar to track the execution of the stored procedure.

Craig...

Tags: Oracle Development

Similar Questions

  • Insert multiple record Oracle forms 6i

    Hi all

    I have a single column of field Field1, button, in the form TEXT_ITEM1.

    After giving the sales order number in Field1, when should press us the button, the items (item_code) shown in the TEXT_ITEM1.

    I went through the discussion Insert several Oracle forms 6i, 9i/10 g recordbut did not exactly how to write the loop button when button pressed.

    first_record;
    <<record_loop>>
    loop
      insert into ....
      exit when :system.last_record = 'TRUE';
      next_record;
    end loop record_loop;

    My request for the loop is.

    Select RI_ITEM_CODE from OT_REQ_ITEM

    Where REQ_NO =: field1;

    Please suggest

    Thanks in advance.

    Kind regards

    Afzal.

    Forgive me if I am oversimplifying this, but why not just base your block of data to the table: XXTABLE.  Then, you just put your form in design query (F7). Enter the value of 1122 in the area of the INVOICE_NUM and selects Execute Query (F8).  Then forms does all the work to extract and display the records without having to write code to do this.  This saves you having to write the code to perform and DML as well because the forms will take care of the Insert, Update and Delete automatically when your users click on save or press F10 (if I remember correctly).

    If you must absolutely query and display your data manually, then you cannot use the standard SELECT INTO method because it will only show 1 record.  You need to loop through your recordset and to manually edit the records in your block after you assign a value to the line.  For example:

    
     /* Sample Button Code */
    DECLARE
      v_invoice_num NUMBER := BLOCK.TEXT1;
    
      CURSOR Get_Items (p_invoice NUMBER) IS
      SELECT INVOICE_NUM, ITEM_CODE
      FROM XXTABLE
      WHERE invoice_num = p_invoice;
     BEGIN
      GO_BLOCK('BLOCK');
      CLEAR_BLOCK(NO_VALIDATE);
    
      FOR rec in Get_Items(v_invoice_num) LOOP
      :BLOCK.INVOICE_NUM := rec.invoice_num;
      :BLOCK.ITEM_CODE := rec.item_code;
      Next_Record;
      END LOOP;
     END:
    

    I really don't like this method, but it could work.

    Craig...

  • Display empty records oracle forms 11g

    Treat all the...

    I use oracle 11g forms, I've created a form using the data block Wizard & Wizard formatting, but when I run the form, the form running successfully in the browser, url is ( Forms / http://arun-pc:9001 / frmservlet), but it is showing empty records.

    When I check with sql more user Scott, I found 10 records in the table departments, same user and same table I used in oracle forms.

    I don't know what the problem... I am new to oracle forms please help...

    I'm waiting for your answer valuable 4r

    S thanks in advance...

    Dear

    You can write the following code

    Execute_Query;

    in your trigger a TIME NEW FORM INSTANCE of your form.

    This will run the query automatically when your form loads.

    Concerning

    Oracle-911

  • Oracle Forms 10g runtime error

    Hello
    I am new to Oracle forms. I created the form, compiled successfully. But when I ran the form its opening a Page Internet Explore but display not nothing on the page. After a while his shows an error "Internet Explorer has stopped working". It is happen every time when I run the form.

    Please suggest me how to run a form in the application form as well as in the Internet Explorer web page.

    Thanks in advance
    Kaddour

    Suresh,
    Which edition of Windows 7 32-bit (etc. Professional, Home, Home Premium)? If you use a home edition - good luck to do this work. The necessary minimum edition is the professional edition. Just any editions have all necessary components of networking needed.

    If you use a professional edition or higher, then there are a few preparations you must do to make it work. They are:
    1. you must install the application as an administrator.
    2. you "run" the application as an administrator. The best thing to do is to find the Oracle executable and then right-click and select Properties. Click on the Compatibility tab, and then click "Run this program as an administrator." Windows 7 automatically runs applications like 'Standard user' - even if you have the privilege of administrator assigned to your account. This is part of the feature Universal Account Control (UAC) in Windows 7.
    3. you must install and use a compatible Java Runtime (JRE) (JRE 1.6.0 - No 1.7.0). Oracle Forms 10 g Release 2 (version 10.1.2.x.x) defautls to the use of the Oracle Jinitiator. However, Jinitiator is no longer compatible with Windows 7 and modern browsers or supported. Keep in mind that Jinitiator was to IE 6 so you cannot expect this JRE to work with modern browsers.
    4. change the formsweb.cfg to use JRE 1.6.0. Change the following lines:

    #baseHTMLjinitiator=basejini.htm
    baseHTMLjinitiator=basejpi.htm
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    jpi_classid=clsid:CAFEEFAC-0016-0000-0034-ABCDEFFEDCBA
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_34
    

    5. Finally, in order to run a form from the forms Builder, you must start the OC4J container. To do this, go to start-all programs-online Oracle Developer Suite - online DevSuiteHome-Online Forms Developer => start an OC4J Instance.
    The OC4J Instance emulates an application server which is required for Forms 10g Runtime.

    The changes described above assumes that you have installed the Java Runtime Environment (JRE) 1.6.0_34. If you have a lower version, make sure you change the "34" to the installed version.

    This is the minimum of changes necessary to make forms work on Windows 7 32 bit. It is strongly recommended that you apply the last group of patches (patches 3 Group) for forms bring your 10.1.2.0.0 version 10.1.2.3.0, but you will need a contract with Oracle support to obtain the fix.

    As for your question,

    One last thing, I've observed is the Oracle Services in the Control Panel control Panel\All Items\Administrative Tools\Services. I don't see any running services related to Oracle, in my system (do not even have a linked oracle service at this location).

    What other Oracle products you have installed? If just Oracle Forms, then you will have no service.

    Craig...

  • Reading excel data file in Oracle form data blocks

    Hi all

    I want to read the data from the excel file in the data block of the module of the form. There are many resources available that explain how to put the data in oracle forms in the excel sheet, but I can't find a single resource to achieve this functionality. Can someone please help me get around this problem. Any help will be much appreciated.

    Thanks in advance
    Bilal

    Bilal,.
    There is little documentation available through My Oracle Support, which shows how to read an Excel file in a form, but you need a support contract with Oracle to access the document (how to read data from an EXCEL worksheet in a form using WebUtil Client_OLE2 [813535.1 ID]).

    I've seen this issue come up in the forum from time to time, so I wrote a small form demo which illustrates playback in Excel in a form. Discover forms: how to read an Excel file in a form. This demonstration uses the WebUtil library, so you must make sure have WebUtil correctly configured in the Forms Designer, as well as on your application server.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • Oracle forms 10g certification

    Hai everybody


    I finished the OCA and Regaring OCP oracle forms9i and I planned to do oracle's 10g. Let someone help that it is essential to go to a class to do this or will I can take the exam directly.


    And what say by COM is possible to do in developer track...


    Pls tell me what are the differences between oracle forms 9i and 10g.


    Thanks in advance

    Srikkanth.M

    Srikkanth.M wrote:
    Man Hai

    I have just completed my certification by course in a center of repetued of oracle and more I did my certification. I na not do directly, I learned and he did my cert now, I need forms of 10 GB if it is possible to own by student of related sites which is that I asked

    Thank you & best regards

    Srikkanth.M

    (1) there is no certification for Forms 10 g exam.

    (2) in order to learn 10 g makes Oracle University courses (or self-study CDROMs) is probably recommended, however some may be able to study by the Documentation provided by Oracle:
    [http://www.oracle.com/technology/documentation/10g_forms.html]

    I suspect that what you have found your information, is that the institutions of the WDP are now doing their training sessions for the formulas rather than form 9i 10g... However these versions have a high degree of similarity and the same certification exam is taken at the end.

    /////
    Going a little off topic... but try to explain why your formulation is making me tear my hair out...
    ....
    Please be aware that "I did my cert" is NOT the same "I got a certificate of Oracle" (Please note certificate not review pass report).
    ... And that a review going on in the "review of the history of Certview does not mean certification... but made a Certification in"Certification history".
    (For example in Certview I have an exam pass (23 December 08 1Z0-402 Enterprise Linux Fundamentals) in the history of the exam... but my history of certifcation shows not Oracle Enterprise Linux application specialist ... so I have not an Oracle Enterprise Linux implementation specialist certification until it arrives or happens in the post).
    ....
    The reason why I watch for these words, it's that sometimes posters on this forum have used formulations such as yours to represent themselves as certified when they are not (either because they did not have a verified oracle education courses (and develeoper certifications do not need these so far) ran out of requirement for review (or used oracle several trials of Id)). They take they Word very unauthorative my (bigdelboy) say (Oracle...). An extreme example is someone who passes 1z-043 and calls themselves an Oracle OCP.
    ....
    ////

  • Development of Application Forms with Oracle Forms 11g on Windows 7

    Computer configuration
    -----
    CPU: Intel® Core™ 2 Duo Processor T5600
    RAM: 2 GB
    OS: Windows 7
    -----
    Installation
    -----
    First I installed Oracle Database 11 g Release 1 (11.1.0.6.0) ( this ), then using [Installetion Guide | http://download.oracle.com/docs/cd/E12839_01/install.1111/e10421/overview.htm#sthref12] I installed Oracle Fusion Middleware 11 g in this order:
    -Error UCR ( this ) with the number of processes (150 to 500)
    -Oracle WebLogic Server 11 g 1 (10.3.2) material + EPCO - Package Installer ( this ) no error
    -Portal, forms, reports and discoverer (11.1.1.2.0) no error
    -----
    Satisfied I finally installed all components (5-6 hours) I've wound up to the bottom of all the oracle services.
    On the next day service, OracleDBConsolesid has not started (after some googling I found the solution - the added folder names env variable ORACLE_HOME, ORACLE_SID and ORACLE_HOME/oc4j/j2ee) after restart windows started.
    It's background, the problem occurred when I launched Oracle Forms Builder
    First error:
    [MISTAKE 1 | http://imageswink.com/show.php/1327_oracle-error-4.png.html]
    When I click ok it sounded there works fine but when I added the canvas has attempted to open the layout editor another error occurred:
    [ERROR 2 | http://imageswink.com/show.php/1328_oracle-error-2.png.html]
    And after a few seconds just application stopped responding
    [ERROR 3 | http://imageswink.com/show.php/1329_oracle-error-3.png.html]
    And another error when I tried to add menu (click "Menus" twice):
    [ERROR 4 | http://imageswink.com/show.php/1330_oracle-error-5.png.html]

    What I am doing wrong?
    What is the best windows (stable) + oracle configuration?

    I am a student and I just have to do for my class...

    Thanks in advance

    Oracle Database XE with Weblogic 10.3.2 + PFRD installed 11.1.1.2 should work perfectly for a stand-alone development environment.

    For a development environment independent (assuming that's what you try to do) you don't need RCU, or OID or SSO, something like that.

    Hope that helps you.

  • Oracle Forms Text_io package

    Hello everyone,

    I would like to ask if any body can help me to get the tutorial package text_io that explain step by step (PDF, link, video)

    something will help.thanks in advance to you all.

    Check

    1 function TEXT_IO

    2 TEXT. IO in Oracle Forms 10g

    3. howto_textio

    4. advice text_io

    Hope this helps

    Hamid

  • Where and how Oracle Forms stores its information on locked records?

    Where and how Oracle Forms stores its information on locked records?

    Is there a specific lock that contains user information or table time for locked records?

    I m using Oracle (Forms) 11 g

    Thanks in advance!

    Oracle uses a byte in each record in the lock ("lock byte"). See:

    http://www.DBA-Oracle.com/t_locks_row_level_locking_update.htm

    and

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/ap_locks001.htm#SQLRF55502

    http://psoug.org/blogs/Mohan/exploring-internal-params/detect-and-resolve-locks/

    ...

    Kind regards

    Zlatko

  • Is it possible to configure jpi_codebase to autodownload JRE for Oracle Forms 11.1.2.2.0 8?

    We are currently working with Oracle Forms and reports 11.1.2.2.0 (64-bit) using Oracle WebLogic Server 10.3.6 (64-bit) installed with the 64-bit JDK 1.7.0_40. Currently, we configure the YPI parameters (jpi_download_page, jpi_codebase, etc.) to use Java 7. Here is an excerpt from formsweb.cfg of that we deploy to end users to download a 7 Java JRE (Java 7u67 taking as an example):

    jpi_download_page = http://Java.Sun.com/products/archive/J2SE/7u67/index.html

    jpi_classid = clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA

    jpi_codebase = http://Java.Sun.com/update/1.7.0/jinstall-7u67-Windows-i586.cab#version=1, 7,0,67

    jpi_mimetype = application/x-java-applet

    NOTE: For the jpi_classid, we use clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA so that users can continue to use their currently installed Java JRE 7 without being forced to use a specific update to Java 7.

    As we know that update of Java Runtime Environment (JRE) 8 5 or higher is supported with clients running an Oracle Forms application 11.1.2.2.0 inside their Web browsers supported by the Oracle for the 11.1.2.2.0 forms certification matrix (we are aware that the JDK 8 is not supported with 11.1.2.2.0 forms) found at http://www.oracle.com/technetwork/es/middleware/docs/oracle-forms-111220certmatrix-2087910.xls?ssSourceSiteId=otnen We want to be able to set up automatic downloading for JRE 8 using the parameters of YPI formsweb.cfg (or help 'EM under "Setting up the Web"). As we know in Internet Explorer, the URL in the jpi_codebase parameter is where it can find the .cab file for the automatic download of the JRE. Even if it works well for JRE 6 and 7 of the JRE, if we were to use the configuration settings following parameter changed to 8 JRE:

    jpi_download_page = http://Java.Sun.com/products/archive/J2SE/8u25/index.html

    jpi_classid = clsid:CAFEEFAC-0018-0000-FFFF-ABCDEFFEDCBA

    jpi_codebase = http://java.sun.com/update/1.8.0/jinstall-8u25-windows-i586.cab#Version=1, 8,0,25

    jpi_mimetype = application/x-java-applet

    nothing happens in the browser launches the application Forms.

    Use the jpi_codebase setting, if we go directly to http://Java.Sun.com/update/1.8.0/jinstall-8u25-Windows-i586.cab to download the JRE, we get an error saying: "File not found."

    We went to http://www.oracle.com/technetwork/java/javase/autodownload-140472.html on the Oracle Web site, which explains the more information on the identification of the URL appropriate for auto-download of JRE, it only shows the URL for JRE 7u71 and 7u71 structure. We used this provision to JRE 8, but we get the "File not found" error when you use the URL directly.

    According to these results, someone happens to know if 8 JRE is currently available (or even supported) for automatic download by using the parameters of YPI in formsweb.cfg? We know that anyone can download the latest Java 7 or 8 Java JRE manually from Oracle, but it would be convenient if he could be auto-téléchargé if it is currently possible. It would be more a une question question for the forum Java or Java Runtime, let me know.

    Thank you

    Scott

    Scott, have you had a look at metalink? (always a good place to look if you have a proper support contract).

    Formsweb.cfg for JRE 1.8 Configuration settings (Doc ID 1926764.1)

    I can't replicate the whole doc here, but looks that the download page you are after is:

    jpi_download_page =http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

  • Unable to connect to the database from Oracle Forms server

    Hello

    I installed Oracle Forms on top of Weblogic server. When I try to connect to an Oracle Forms home by TNS naming database, it returns error "ORA-12504". It works fine when I use EZConnect.

    D:\Oracle\Middleware\FRHome\BIN >. \sqlplus myuser/mypass@auhdb2

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:34 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    ERROR:

    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    D:\Oracle\Middleware\FRHome\BIN > @//auhdb2/auhdb2 mypass/myuser mypasssqlplus

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:55 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    Here are the specifications of the environment:

    Server operating system: Windows 2008 R2 64-bit EA

    WebLogic: Weblogic Version 10.3.6

    Forms and reports: 11.1.2.2

    Database, I am trying to connect to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 on Windows 2003 Server

    Tnsnames configuration in D:\Oracle\Middleware\FRHome\network\admin:

    AUHDB2 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = auhdb2) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = auhdb2)

    )

    )

    Thanks in advance.

    I want to update this post because I understood what was the matter.

    The TNSNAMES file. ORA file must be created in ORACLE_INSTANCE/config, not in %ORACLE_HOME%\FRHome\network\admin

    It was interesting for me!

  • How to install and run on 64-bit windows8 oracle forms?

    Hi all

    I am a newbie in Oracle forms and I want to install oracle forms in my laptop with the aim of learning and training.

    I tried installing Oracle forms 10 g 2, but am not able to run the forms because I'm stuck at the frm-92101 error which I am not able to delete even after many changes made to the formsweb.cfg file (as suggested by the bias on the internet). Recently I learned that this version of forms is not certified (or compatible, I suppose) with windows 8.

    So I would ask all the people of genius out there that what should be the version of things so that they work on windiws8 64-bit following:

    (a) in oracle forms

    (b) jinitiator

    (c) java

    (d) browser(preferably firefox)

    Thanks in advance!

    Hey guys!

    The problem is now solved!

    The problem was in my form. I was using ' RWIDGET. TURN_OFF/on('Block.Item') ' to disable/enable any any element. Although I attaching me the corresponding libraries but some how it created a problem. Once I replaced it with the built in 'SET_ITEM_PROPERTY('Block.Item',Enabled,Property_true/false)' in my entire form, the error disappeared

  • more than 50 main menu are not not in the next row, oracle forms version 10.1.2.0.2

    Dear Sir.

    I use the ORACLE forms 10.1.2.0.2 version, it is possible in this version that more horizontally online next menu top 50 show currently in the horizontal scroll bar in oracle forms menu, but in this show of forms 6.0.8.11.3 oracle version of the main menu in the following line

    Mukesh Nandan

    What was wrong with the anser you got in your first thread?

    Hello

    see you soon

  • Call DLL (c#) function in Oracle Forms

    Hello

    I have a big problem with the method of DLL in Oracle Forms 6i. DLL was written in

    C# and this is the code:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using OnlineFPCommon;
    using System.Windows.Forms;
    
    namespace TestNamespace
    {
        public class TestClass
        {
            public static void testMethod()
            {
                MessageBox.Show("testMethod");
            }
        }
    }
    

    I try to call using the Oracle Forms code:

    testlib_lhandle := Ora_Ffi.Load_library('C:\libdir\','test.dll');
    getresult_fhandle := ora_ffi.register_function(testlib_lhandle,'testMethod');
    

    but the second line, when I try to save the function fails. Why? How can I properly invoke this function?

    Only shouts and C is supported.  You can also view notes 285331.1 that this note refers to WebUtil MyOracleSupport, but the same restriction applies in your case.

  • I recently received licenses for Acrobat ro DC to develop PDF using Oracle Forms.

    I recently got a license for Acrobat Pro DC develop PDF using Oracle Forms.

    But Oracle Support says I need

    PDF version 1.4 is Acrobat 5.x

    PDF version 1.5 is Acrobat 6.x

    PDF version 1.7 is Acrobat 8.x

    and adobe Support says that they do not support these versions.

    Any suggestions?

    All had similar problem earlier?

    Appreciate your responses.

    Thank you in advance.

    What this means is:

    PDF version 1.4 is Acrobat 5.x or higher

    PDF version 1.5 is Acrobat 6.x or higher

    PDF version 1.7 is Acrobat 8.x or higher


    Then you should be fine with DC...

Maybe you are looking for