Point of the box in oracle forms

Hello experts, I am new in oracle forms. I use oracle weblogic server 10.3.5, oracle database 11 g on windows 7, 11 platform g. I have a simple table.there basic data block is a tabular shape is selected, it has four rows (records). Now I have to block the 4 adjacent boxes to data records in another block of data. Now, I have to feature in which that records must be inserted to the table of database for which corresponding checkbox (in front of registration) is checked. Thank you cordially Abdellatif.

Hello

Commit_Form built-in function commits all available database fields.  Therefore, use separate Insert in the statement to accomplish your task.

As...

because me in 1... 4

loop

premier_enregistrement;

If: chk_box = 'Y' then

Insert into values(field1,field2,...);

end if;

next_record;

end loop;

Tags: Oracle Development

Similar Questions

  • FILL MONTHS DYNAMICALLY IN THE ITEM VIA ORACLE FORMS GROUP RECORDING LIST

    Experts

    I have a query in oracle forms. I need to fill Last_Month, Current_Month & Next_month based on Sys_Date in the list box. I am able to get the values in SQL if I run the query below, but when I use the version of Oracle Forms 10.1.2.0.2, I could not get the values of Mr. can you please guide me where I'm wrong.

    declare

    v_rg_id recordgroup: = NULL;

    Number of V_errorcode;

    v_rg_salmth varchar2 (30): = "MONTHS";

    Begin

    v_rg_id: = find_group (v_rg_salmth);

    If id_null (v_rg_id) then

    v_rg_id: = create_group_from_query (v_rg_salmth,

    "WITH (AS MONTH_COUNTER)

    SELECT LEVEL 2 AS ID

    OF THE DOUBLE

    CONNECT BY LEVEL = 2

    UNION

    SELECT LEVEL AS ID

    OF THE DOUBLE

    CONNECT BY LEVEL = 0

    )

    SELECT TO_CHAR (ADD_MONTHS (TO_CHAR (SYSDATE), ID), MONTH) AS MONTH_COUNTER MONTHS ');

    v_errorcode: = populate_group (v_rg_id);

    If v_errorcode = 0 then

    message ("record group filled with data");

    on the other

    message ("V_errorcode is:" | ") v_errorcode);

    end if;

    End if;

    populate_list('MASTER.) MONTH, v_rg_id);

    end;

    The rather complicated query, try

    SELECT ADD_MONTHS (SYSDATE-1) TO DOUBLE

    UNION ALL

    SELECT SYSDATE DOUBLE

    UNION ALL

    SELECT THE DOUBLE ADD_MONTHS(SYSDATE,1)

    BTW. to use a query to populate a list, you must select two values, a label and a value, check it fill listitems dynamically - Andreas Weiden - on Oracle

  • The components of Oracle Forms and reports refers specifically to the which components?

    Hello

    Could you help me with the following question.

    Our client uses the following documents to improve reports and forms Oracle 11 g Release 1 on Oracle Forms and reports 11g Release 2.

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e23975/upgrade_from_r1.htm#BDJFHIEH
    Oracle® Fusion Middleware Upgrade Guide for Oracle Forms and reports
    11g Release 2 (11.1.2.1)
    E23975-02 part number
    Upgrade-5,3 doing the Oracle Forms and reports 11 g Release 1 (11.1.1)
    ----------cut-----------
    Ensure that the destination Oracle instance and the destination Oracle WebLogic Server domain are running.

    To verify that the instance and domain are running, log on to Oracle Enterprise Manager Fusion Middleware control for the field and make sure that the managed servers and components Oracle Forms and reports are running.
    ----------cut-----------
    On the above documents, our client has a question.

    [Question]
    The components of Oracle Forms and reports refers specifically to the which components?
    (Or need to check what components are running?)

    Please give me some advice.

    Best regards

    David

    For Windows, you can use the command line or shortcuts in Windows that are created for you.  In the case of OPMN under Windows, a Windows Service is created.  Information on the power on/off is in the documentation of the product here:

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13708/TOC.htm

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13740/starting_nodemgr.htm

  • by selecting only the time in oracle forms

    Hi all
    as a picker of oracle forms can I select the time in oracle forms in a text element.
    I want to display the time in this format 10:10:30, and I would also like to insert into the table
    I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.
    my version of oracle forms is 10g.


    Please answer...

    Hi, extreme

    extreme wrote:
    Hi all
    as a picker of oracle forms can I select the time in oracle forms in a text element.
    I want to display the time in this format 10:10:30, and I would also like to insert into the table
    I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.

    Better take column with the data type date. You can insert the date and time in the date field.
    You just change the forms.
    Change the data type Date to Datetime

    to view a single moment, use the format mask.

    Hope this helps

  • How can I use SQL to check the Version of Oracle Forms and object of the request?

    Hi all:

    How can I use SQL to check the Version of Oracle Forms and object of the request?





    Concerning
    Terry

    Terry,

    See the following threads/docs for the version of forms.

    How to find the developer version
    Re: How to find the developer version

    Note: 466890.1 - Script to find the Apache, Java, Jinitiator, version of forms and details of the JVM for Oracle E-Business Suite 11i
    Note: 392793.1 - how to get Forms Oracle Oracle Applications 11i Command Line Version
    Note: 468311.1 - Script to find the Apache, Java, JRE, Forms for Oracle E-Business Suite R12 version

    What purpose are you talking?

    Thank you
    Hussein

  • Call a page of the OAF of Oracle Forms

    Hello

    Is it possible to call a page of the OAF of Oracle Forms.

    Thanks in advance,
    Roselyne

    Hi Flo,

    Read Pages Executive Dev Guide to launch OA of Oracle Forms Applications.

    Thank you
    -Anil

  • How to display the rownum in oracle forms?

    Hai all,

    How to display the rownum in oracle forms?

    Thank you
    RCS
    ----------------

    I would add rowum with the current form of group_mstr:

    former columns:

    group_id
    GroupName

    new columns will be:

    identifier of the line
    group_id
    GroupName


    I created as follows:
    in forms
    text tool > row id
    text element > EXT_ITEM20

    error text element: no white color, it's a different color
    --------------

    create > Trigger > a time new form instance > I gave like this:

    DECLARE
    CURSOR crrow_id IS
    SELECT count (*) + 1 group_mstr;
    BEGIN
    OPEN crrow_id.
    Search FOR crrow_id IN: TEXT_ITEM20;
    CLOSE Crrow_id;
    END;
    ------------
    error: identifier group_mst must be declard
    ============

    I don't know also not quite what you want to display in your form. Do you want to just number the records displayed, from 1 to n?

    If so, create a text whose property 'data base element' element to the value 'no', "calculation method" formula and the formula itself: SYSTEM. " TRIGGER_RECORD, then, in each case, the registration number should be indicated.

  • 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!

  • 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

  • Create the hyperlink in oracle Forms

    Hi all

    I want to show a hyper link on my form(forms_6i).i have used.web.showdocument (url, '_blank')
    its fine for the web URL.but my requirement to have the hyper link to the file stored in LAN in the field on the part of work.

    Is it possible to do with oracle forms 6i and e-Business suite.

    Thank you
    Bharat

    Bharat,

    But to open the path of local network I should use \\192.168.1.203\ like that then EUL.

    There is no way to do it. ? >
    As you say here, it's a network , not a URL path. The WEB. ShowDocument integrated expects a URL so everything that you pass to this built-in function will be treated as a URL. Rather than use the UNC format, try using the URL to open a file from a browser instead (for example: file://192.168.1.200/test/hi).

    You can test it in your browser quite easily to confirm that it works. Then pass the url of the Web file. ShowDocument instead of the network address.

    Craig...

  • Lock the Table TM - oracle forms 6i application - sharing mode

    What are the scenarios where a table can be shared mode?
    I know that one is using the command "LOCK TABLE... IN SHARE MODE ".

    Is there another way?

    O Oracle forms pode deixar uma em sharing mode image?

    I use a base 6i app table lock blocks 'automatic' and porperty primary key 'true '.

    Edited by: 920118 03/12/2012 09:45

    920118 wrote:
    What are the scenarios where a table can be shared mode?
    I know that one is using the command "LOCK TABLE... IN SHARE MODE ".

    Is there another way?

    O Oracle forms pode deixar uma em sharing mode image?

    I use a base 6i app table lock blocks 'automatic' and porperty primary key 'true '.

    Edited by: 920118 03/12/2012 09:45

    When everything has failed, read the Fine Manual

    http://docs.Oracle.com/CD/E11882_01/server.112/e25789/consist.htm#BABDDFHB

  • How to find the error in oracle forms

    Dear gurus,

    I am newbie in oracle forms. I have a form with many items. In this regard, certain elements are not met. These elements are filled from four different cursors depending on certain conditions. for example,.
    IF <condtion1> true then
     open cursor1;
       populate all the items  from cursor1 columns
    elsif <condition2>true then
       open cursor2;
        populate all the items  from cursor2 columns
    elsif<condtion3>true then
        open cursor3;
       populate all items  from curso3r  columns
    elsif<condtion4>true then
        open cursor4;
       populate all items  from cursor4  columns
    This cursors are written to the database level.
    Now, I want to know what slider elements become values.

    My TL told me to find this, put messages. But I don't know where I put message [or in forms or cursors?]. Is an easy way to find errors in its present form?

    Thank you all.

    My TL told me to find this, put messages. But I don't know where I put message [or in forms or cursors?].

    You can add messages to your forms code in your conditional statement. For example, using your code sample:

    IF  true then
     open cursor1;
       Clear_Message;
       Message('Using Cursor 1');
       Message(' ');
       populate all the items  from cursor1 columns
    elsif true then
       Clear_Message;
       Message('Using Cursor 2');
       Message(' ');
       open cursor2;
       populate all the items  from cursor2 columns
    elsiftrue then
       Clear_Message;
       Message('Using Cursor 3');
       Message(' ');
       open cursor3;
       populate all items  from curso3r  columns
    elsiftrue then
       Clear_Message;
       Message('Using Cursor 4');
       Message(' ');
       open cursor4;
       populate all items  from cursor4  columns
    

    If your form works and you troubleshoot just a mistake, I wouldn't recommend restructure you your form. If the current process is inefficient or not, it has been tested and proved to a certain extent. Unless the form has many problems, I would keep the way it is and just solve the problem at hand! :)

    Is an easy way to find errors in its present form?

    You don't mention your version of Oracle Forms, but rather than adding messages to the code; I recommend that you use the debugger to step through your code forms so that you can see the enforcement code that is causing the problem. (Note: the debugger of forms can only step through you the code in the form.) If your cursors are in a data base/package procedure - all you will see is the call of this procedure of database/package - not the code in the procedure/package).

    If you are using Forms 6i, simply add the "break." part of the code you want to debug. If you use Forms 9i or higher, then you will need to be able to run your form from forms manufacturer; which requires a configuration to make it work. Once configured, simply select the line you want to break the and press F5 for enabled or disabled a breakpoint. Then run your form by using the option 'run Debug form '.

    If you really want to reegineer your form to use a query in the From Clause, take a look to forms: how - a block based on a query FROM Clause for more information on the query from Clause.

    Now, I want to know what slider elements become values. The link Christian listed is also a very good article on using queries in the From Clause.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • the point on the line of title form regions?

    Hi again,

    seems as if this day is my day of questions :-)

    I have a simple HTML form region on my page. How is it possible to display an element (I need just a bit of conditional text, so my choice is 'screen as' - point) between the title of the region?

    I can't use the substitutes button, is there so no work around or am I missing something?

    Thank you, hendrik :)

    Hendrik,
    Another update: you don't have to add the DIV tag in the template: you can also add the div directly in your region title and work from there with javascript to change the title. In this way, you can add DIV tags between the words in the title!
    Roel

  • Masking of the Format of the text in Oracle forms point

    Hello Experts, I use forms of oracle 11 g with windows 7.i do a text field for an account (with a length of 10-digit) number. That when I type the entry number (assume it is a length of 8 digits), there is a prefix (two zeros according to fill the maximum length of the text box counts) added to the entry. I did this using a logic in pl/sql, but I want to know that it is a built-in function or any other feature of pl/sql in oracle for this feature. thnk you.

    Hello

    go to the range of the property account number and select format mask enter 10 zeros (ie) "0000000000".  Then your problem will be solved.

    In sql, you can use the lpad function integrated to perform the above task.

    Example:

    Select LPAD (12345678,10,0) double acc_no;

    OUTPUT

    Acc_no

    ----------------

    0012345678

  • Error with the WSDL URL to point to the Proxy in Oracle Service Bus

    Hi all

    First, I present the context and then I explain my problem. I hope that this will be clear enough.

    I am trying to learn SOASuite. I'm trying to follow a tutorial from the following book: "getting started with Oracle SOA Suite 11 g R1: a tutorial".

    I installed the SOA Suite 11.1.1.6 on Windows XP.

    Here, there is a link to the page of the book: http://www.oracle.com/technetwork/middleware/soasuite/11gthebook-101473.html. On this page there is a link to a zip containing the used book sources. In the "solutions" folder, there is only one folder by chapter with the proposed solution for this chapter.

    I made the tutorial until Chapter 10, and I have a problem with the end of the chapter 11 dealing with the OSB. Thus, all work until Chapter 10 (inclusive).

    The application that the tutorial 'Création' is a purchase order processing application. The following link gives access to the book in google books: http://books.google.be/books?id=ZP9PClWesncC & printsec = frontcover & dq = Getting + Started + With + Oracle + SOA + Suite + 11 g + R1 + % E2% 80% 93 + A + hands-on + Tutorial & source = bl & to ots = gr8rTsRfHv & to GIS = Dcnu6pfY4JrEjuDrLYcgHwW - H4 & hl = en & to her = X & ei = AzcuUPX5C42KhQfgxIGQBQ & to ved = 0CD0Q6AEwAQ #v = onepage & to q = Getting % 20Started % 20With % 20Oracle % 20SOA % 20Suite % 2011 g % 20R1% 20% E2% 80% 93% 20 A % 20Hands - we % 20Tutorial & f = false

    The tutorial scenario is explained in Chapter 3, and there is an overview of the tutorial chapters.



    Now, I'll explain my problem. At some point in my application, I have to call my POProcessing application validation of credit service (using OSB). To do this in Oracle Business Bus, I joined the validation service of credit cards as a Business Service. Then, I created a Proxy Service. Not until then, no problem.

    The project is called 'Credit Services', the proxy file 'ProxyServices' and the name of the service is "ValidateCredit" type "Service WSDL. I imported a WSDL with name of the resource 'ValidateCredit-wsdl. This WSDL is here connected with the ValidateCredit service.

    Once the configuration (business service, proxy service, mail flow) and after having tested this configuration, the next step is to change the reference link to the function 'getCreditCardStatus' in jDeveloper, to invoke the virtualized service OSB. getCreditCardStatus is the name of the web service in the "composite.xml" that is related to the release of the credit function.

    Thus, in JDeveloper, I open the "composite.xml" file in the POProcessing project and I have change the reference of the getCreditCardStatus by giving the new url of WSDL (Proxy).

    The problem is the URL of the WSDL.
    In the configuration of the Proxy Service, the URI of enlightened endpoint is: / Credit_Services/ProxyServices/ValidateCredit
    The OSB server is on localhost, port 7001.

    When I enter the following WSDL URL: http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? WSDL, jdevelopper complains: "error reading wsdl file http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? WSDL. Exception: WSDLException: faultcode = OTHER_ERROR: cannot read the WSDL for http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? "WSDL: WSDL not found."

    When I enter the same link in my browser, I get a ' error 404 - not found "...


    Could you help me please? Any idea is welcome.

    I tried to restart the servers, to slightly change the url, to remove the space in the name of 'credit Services '... When I do the test in OSB, all right, and the URI parameter is always/Credit_Services/ProxyServices/ValidateCredit.

    I also noticed in console (WebLogic domain) Administration, in Web Deployment/Monitoring/applications, there is a single line with context root "/ Credit_Services/ProxyServices/ValidateCredit" but the State is empty (as opposed to others with a status of 'Active'). Despite this, the 'State' in 'Settings' of the Proxy Service in the console of the OSB is checked.

    In addition, the URL of the WSDL I provided when I imported the WSDL in OSB, is correct (and works in a browser). When I look at the console of the OSB, the WSDL is imported goods and everything seems well configured.

    once more, any idea is welcomed :)

    Thanks in advance,

    Sophie

    Published by: 953383 on August 17, 2012 06:18

    Hope that you would like to have checked, but there is no harm to recheck the information below.

    Connect on weblogic admin url on your left under the structure of the domainwindow, click on Server, on your right, see what is the listen port configured for the server of the OSB.
    Try with this port number, if you have not tried before to try now.

    Hope your proxy OSB is basic SOAP, if your OSB is restful service so you won't be able to get how you try.
    To access the service restful, we follow a different approach.

    Thank you
    Vijay

Maybe you are looking for