A single form: two supports

I want to give the user a choice of two displaying the information in the form and goes to another page or display of information, and going to a completely different page. Therfore two submit button on the form. The information required on the form are minimal, because most of the data has been compiled and is in hidden form fields.

Any ideas?

TIA Andrew Gilbert

On July 18, 2006 to macromedia.dreamweaver, tollesbury wrote:

> I want to give the user a choice of two displaying information
> under the form and goes to another page or display information and
> go to a completely different page. Therfore two button to submit the
> the same shape. The information required on the form are minimal
> as most of the data has been compiled and is hidden
> the form fields.

This, as far as I know, is impossible. You could do, is just
above the submit button, a set of drop-down list or radio button call him.
say, 'Destination' and offer to your choice.



Go to another Page


Go to a completely different Page



--
Joe Makowiec
http://Makowiec.NET/
E-mail: http://makowiec.net/email.php

Tags: Dreamweaver

Similar Questions

  • How to compile the single form?

    Hi all

    EBS R12.2.4

    RHEL6.5

    How do you compile a single form? or all forms in a single module as AR?

    In fact, I have compiled all forms for all modules in our case of BSE, and it took a lot of time. After that, the functional a user issue has been resolved.

    Now, I do not understand why another encounter similar error again functional:


    While it opens a form, the FRM-40735 displayed error message: a TIME-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-20002

    Capture1.PNG

    Capture2.PNG

    Capture3.PNG

    Capture4.PNG

    ---------------------------------------
    Current form
    ----------------------------------------
    Request form: claims
    Name: ARXRAATR
    Train path: /u01/appuat/UAT/fs2/EBSapps/appl/ar/12.0.0/forms/US/ARXRAATR.fmx
    Form Version: 12.0.30.12020000.2
    Last modification of the form: $Date: 2013/03/10 06:49 $

    How to compile this form ARXRAATR.fmx?

    Help, please...
    Thank you very much
    JC

    Check this document:

    Accounting revenue and sales credits: unexpected error while initializing FRM-40735: trigger once - new - form - Instance (Doc ID 1386372.1)

    Kind regards

    Bashar

  • Adobe forms are supported after 2015

    Hello

    I don't know if this is the right place to post this question but could not avoid the question.

    Everything started to venture into adobe forms and started working on a few projects. But the rumor is that adobe forms are approaching the end of life and that there will be any form adobe supports after 2015. Statement kind of weird, but I would like to know if it's true. I need to know this, because I need to meet my clients as well.

    Thank you and sorry for the inconvenience caused.

    Hello

    No, the shapes are almost not their end of life.  Adobe VP and GM Arun Anantharaman, who is responsible for the LiveCycle recently reaffirmed our commitment to the product https://blogs.adobe.com/ADEP/2012/01/the-future-of-livecycle.html company

    What may be confusing you is the period of support for a specific version of the product. Our strategy of support is 5 years of basic support with 2 years of extended support available from the day of the launch of the product shipment to the France.

    We publish our periods of support for all versions of product on our Web site - http://www.adobe.com/support/products/enterprise/eol/eol_matrix.html.  The most recent version of the forms was as part of the Adobe Digital Enterprise Platform (ADEP) in September 2011 - http://www.adobe.com/support/products/enterprise/eol/eol_matrix.html#111 and as a result, this version is supported until September 30, 2016, with support extended to September 30, 2018.   As new versions of forms (or other LiveCycle modules) the new support period dates will be updated on this Web site.   Customers who are up-to-date on their maintenance and alimony can update free of charge.

    I hope this helps.

    Jeff Stanier

    Group Product Manager - LiveCycle.

  • Pavilion 15: How can I contact HP when they do not meet the submittedd form of support twice online

    Laptop stopped working a week ago. Beep code (3 blinks) indicates the memory. Can't turn it off, have to remove the battery, as starting goes into cycle of three attempts, then a click and noise from drive HARD winding down and then tries to start again.  Faulty power button? Start safe mode does not work. Been online to submit the request for assistance and the form said netbook is out of warranty - but I have a pack of care valid until the 24.10.16 this were presented as a fight twice with the message saying I contact under 1 day so far no contact - not not even the email confirmation. No mail or phone at this track number. Support site is a terrible example of how to frustrate customers.

    This is NOT official HP customer service and I, like most other people on this forum do not work for HP. It is a forum for users of peer-to-peer support for HP products. HP maintains no official presence on this forum and it is unlikely that HP will respond in an official capacity. Response of an employee of HP represents his own opinion and not that of HP.

    I'm sorry that you are having problems with your computer. I have forwarded your concerns to administrators of the Forum HP for possible escalation. Please look for a PM (private message), a representative from HP on this forum.

    If you have any other questions, feel free to ask.

    Please click the White Star of KUDOS to show your appreciation

  • Can't round a corner in a single form.

    Hello, I tried to one corner tower, but it is not letting me. I could around all the others, but not this one. You would think that there is some point extra in the way that I can't delete (I'm a bit new to Illustrator) right next to the corner, but I'm not sure. I have attached a picture of the shape and angle. Also, here is the link to a file .ai with the form (note, this is the form of problem - I deleted the rest): http://adobe.ly/1K0einJ

    1. as you can see, the corner left most do not have the circle and dot the widget to adjust the radius of rounding.

    Capture1.PNG

    2. above you can see barely two points very close, but here's a zoom there, just in case.

    Capture2.PNG

    Note, I have Illustrator CC 2015.1.0.

    Any help is appreciated.

    first of all, you have 1 point near the angle

    Secondly, you have 2 points on the corner

    It is perhaps not 100% perfect, but will be very close to.

    someone else may have a more elegant solution.

    a long 8 px line

    and turn to sit along your form

    using pen + (shortcut is the + key), add an anchor point just after the end of the line.

    Now using the feather (shortcut is the key), remove the 2 points.

    the first point is just around the corner.

    the second point is on the corner (there are 2 it right now)

    now using direct Selection (shortcut key), select the corner point, now you should see the rounded corner to manage.

    Double click on that and enter 8px, press ok, everything is done.

    I hope that it's fairly simple to follow.

    If you do not need this kind of accuracy. Just add the point of the eye, not bothering with the line as a guide.

  • a form two buttons send to different URLS

    I have a confirmation page to two buttons will be sent to the payment page, the other needs to access anthers URL and I'm totally stuck on how to do it. I've added comments where the button should sit and where to go,

    That's what I

    the script

    <? PHP

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("INSERT INTO beaubeau_orders (OrderID, CustomerID, OrderDate, shipping, Discount, tax, Total, TransactResult, imx) VALUES (%s, %s %s, %s, %s, %s, %s, %s, %s)", ")

    GetSQLValueString ($_POST ["OrderID"], "text").

    GetSQLValueString ($_POST ["CustomerID"], "int").

    GetSQLValueString ($_POST ["OrderDate"], "date").

    GetSQLValueString ($_POST ['shipping'], "double").

    GetSQLValueString ($_POST ['Discount'], "double").

    GetSQLValueString ($_POST ["tax"], "double").

    GetSQLValueString ($_POST ['XC_Amount'], "double").

    GetSQLValueString ($_POST ['TransactResult'], "text").

    GetSQLValueString ($_POST ["'imx"], "int"));

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $Result1 = mysql_query ($insertSQL, $beauSS15) or die (mysql_error ());

    }

    X Cart

    $useSessions = false;

    $XCName = "beaubeau;

    $XCTimeout = 1;

    $XC_ColNames = array ("StockID", "ProductID", "Size", "Quantity", 'Name', 'Price', 'Stock', 'Total');

    $XC_ComputedCols = array ("","","","","", "", "","Price");

    require_once('XCInc/XCart.inc');

    $colname_rsCustomer = "1";

    If (isset($_SESSION['MM_UserAuthorization'])) {}

    $colname_rsCustomer = $_SESSION ["MM_UserAuthorization"];

    }

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $query_rsCustomer = sprintf ("SELECT * FROM beaubeau_customers WHERE the beaubeau_customers.") (CustomerID = %s", GetSQLValueString ($colname_rsCustomer,"int"));

    $rsCustomer = mysql_query ($query_rsCustomer, $beauSS15) or die (mysql_error ());

    $row_rsCustomer = mysql_fetch_assoc ($rsCustomer);

    $totalRows_rsCustomer = mysql_num_rows ($rsCustomer);

    to pass URL parameters

    If (! session_id()) session_start();

    If (isset($_SESSION["x_urlstr"])) {}

    $x_reqstr = $_SESSION ["x_urlstr"];

    session_unregister ("x_urlstr");

    }

    Repeat XCart region * (do not remove this label)

    Redirect if XCart is empty *.

    $XC_RedirectIfEmpty = "SS15cart.php";

    If (isset($_SERVER["QUERY_STRING"])) {}

    $XC_RedirectIfEmpty. = « ? ». htmlentities($_SERVER["QUERY_STRING"]);

    }

    If (isset(${$XCName}["contents"]) & & (sizeof(${$XCName}["contents"][0]) == 0)) header ("Location:".) $XC_RedirectIfEmpty);

    validate x limit

    $XC_invalidItems = "";

    $XC_lim = "";

    $iCol = array_search("Quantity",${$XCName}["ColNames"]);

    $iSrc = array_search("Stock",${$XCName}["ColNames"]);

    for ($iVal = 0; $iVal < sizeof(${$XCName}["contents"][0]); $iVal ++) {}

    {If (${$XCName} ['material'] [$iCol] [$iVal] > {${$XCName} ["content"] [$iSrc] [$iVal]})}

    If ($XC_invalidItems! = "") $XC_invalidItems. = «- » ;

    $XC_invalidItems. (string) = ($iVal + 1);

    If ($XC_lim! = "") $XC_lim. = «- » ;

    $XC_lim. (string) = ${$XCName} ['material'] [$iSrc] [$iVal];

    }

    }

    If ($XC_invalidItems! = "") {}

    $XC_invalidItems = "(".) " $XC_invalidItems. "by";

    $XC_lim = "(".) " $XC_lim. "by";

    $x_limErr = "the articles $XC_invalidItems exceed the available stock of $XC_lim";

    }

    Add delivery according to area: fixed

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $XC_ShipSource = "SELECT Value FROM beaubeau_shipbyzone WHERE the area = '". $row_rsCustomer ['country']. "'";

    $XC_rsShip = mysql_query ($XC_ShipSource, $beauSS15) or die (mysql_error ());

    $row_XC_rsShip = mysql_fetch_assoc ($XC_rsShip);

    $XC_Shipping is $row_XC_rsShip ['value'];. When free shipping, done using the varialble

    $XC_Shipping = 0;

    $XC_rsShip = null;

    DISCOUNT NEW QUERY.

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $query_rsDiscount = "SELECT * FROM beaubeau_discounts";

    $rsDiscount = mysql_query ($query_rsDiscount, $beauSS15) or die (mysql_error ());

    $row_rsDiscount = mysql_fetch_assoc ($rsDiscount);

    $totalRows_rsDiscount = mysql_num_rows ($rsDiscount);

    $discountName = $row_rsDiscount ["discountName"];

    $discountExpire = $row_rsDiscount ["discountExpire"];

    $discountAmount = $row_rsDiscount ["discountAmount"];

    NEW APPLICATION OF DISCOUNT END.

    new discount code

    If (isset($_POST['discount']) & & $_POST ['discount'] == "BOO")

    {

    $multiplier = 0.8;

    }

    on the other

    {

    $multiplier = 1;

    }

    Calculate the Total general

    $XC_GranTotal = ($XCart_sumTotal * $multiplier) + $XC_SalesTax + $XC_Shipping;

    before this reduction * $XC_GranTotal = $XCart_sumTotal + $XC_SalesTax + $XC_Shipping-$XC_Discount;

    query string

    $x_urlstr is "amount =". number_format ($XC_GranTotal, 2). '& firstname ='. UrlEncode ($row_rsCustomer ['FirstName']). '& lastname ='. UrlEncode ($row_rsCustomer ['LastName']). '& cemail ='. $row_rsCustomer ['email']. '& caddress ='. UrlEncode ($row_rsCustomer ['Address']). '& clocation ='. UrlEncode ($row_rsCustomer ['Town']). '& cprovence ='. UrlEncode ($row_rsCustomer ['County']). '& czip ='. $row_rsCustomer ['postal code']. '& ccountry ='. UrlEncode ($row_rsCustomer ['Country']);

    $_SESSION ["x_urlstr"] = $x_urlstr;

    session_register ("x_urlstr");

    Save XCart contained in table *.

    require_once('XCInc/XCsaveAction.inc');

    If (isset($_GET['XC_SaveCartToTable']) & & ($_GET ['XC_SaveCartToTable'] == '1')) {}

    $XC_destColName = array("SKU","ItemID","UnitSize","Quantity","","UnitPrice","","Total");

    $XC_destColType = array("num","str","str","num","num","num","num","num");

    $XC_orderId = $_SESSION ["OrderID"];

    $XC_tableName = "beaubeau_orderdetails";

    $XC_OrderIDCol = "OrderID";

    $XC_OrderIDType = 'NB ';

    $XC_AddToTableRedirect = "SS15paypal.php?$x_reqstr";///these is the URL where the buttons should send. "

    $XC_AddToTableRedirect = ' paypalpro1.php?$x_reqstr";//// here's the URL where the buttons should send .

    $XC_conName = "beauSS15";

    require_once('XCInc/SaveXCartToTable.inc');

    } ? >

    the form is here

    < do action = "<?" PHP echo $editFormAction;? ">" method = "POST" name = "form1" id = "form1" >

    < input name = "Button" type = "image" src = "images/proceed.jpg" value = "Pass to secure the server" / > "

    "< input name ="Button"type ="image"src =" images/proceed.jpg"value =" PAY BY CREDIT CARD "/ > <!--this is the second button-->

    < input name = "OrderID" type = "hidden" value = "<?" PHP echo $_SESSION ["OrderID"];? ">" / >

    < input type = "hidden" name = "Shipping" value = "<?" PHP echo $XC_Shipping;? ">" / >

    < input name = "Discount" type = "hidden" value = "<?" PHP echo $XC_Discount;? ">" / >

    < input type = "hidden" name = "Tax" value = "<?" PHP echo $XC_SalesTax;? ">" size = "32" / >

    < input type = "hidden" name = "XC_Amount" value = "<?" PHP echo $XC_GranTotal;? ">" / >

    < input type = "hidden" name = "CustomerID" value = "<?" PHP echo $row_rsCustomer ["CustomerID"];? ">" size = "32" / >

    < input type = "hidden" name = "OrderDate" value = "<?" PHP echo date("Y-m-d")? ">" / >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < input type = "hidden" name = "XC_Limit" value = "<?" PHP echo @$x_limErr;? ">" / >

    < input name = "TransactResult" type = "hidden" value = "awaiting payment" / >

    < input name = "imx" type = "hidden" value = "2" / >

    < / make >

    There must be a right of liquidation?

    How many times I have to tell you that the syntax is incorrect. Please read the previous answers posted carefully, otherwise it's a complete waste of time

    YOU HAVE BRACKETS LACK IN THE CODE YOU HAVE POSTED (BELOW IN RED)

    If (is_numeric($_POST['buttonClicked']) & ($_POST ['buttonClicked'] == 1))

    ElseIf (is_numeric($_POST['buttonClicked']) & ($_POST ['buttonClicked'] == 2))

    You must get the right code until it had a chance to work - its just not good 'hoping' its going to work.

    You took the code I provide in my example and tested, you will find that it works. It's the starting point at which you should engage and whenever you introduce a new piece of test code.

  • How to pass a single form filed with the second shape parameter

    Hi all,
    I get the custom form a requirment.already one, just added the button when the button on a new form opens, this form with a logical filed.here is the first form a single block dat filed pass the second shape parameter


    Kind regards
    Sandrine

    994418 wrote:
    Hi, HAMID

    Hi stephane
    Good here we solve you your problems. If you share the solution other people can get the same kind of help from you.

    Also when you check the option add any thread as a response, if it solved * [SOLVED] * to the left of your subject line.

    Hamid

    Mark correct/good to help others to get the right answers. *

  • Form two submit buttons

    Hi all

    I have a form and I want to use the different buttons to submit. 'APPLY' and 'SAVE '. The only difference being that the SAVA which takes back you to the same page and APPLY sends you to another page. Now I want to use AJAX, but as there is an attachment file on the form and means of previous experience what AJAX will not work.

    Any help would be great.

    At soon Daniel

    I have included only the code I changed work from the code you provided. I would have preferred rendered HTML, but it should help you get and help you on the right track.

    I have used jquery, be sure that it is included in the header. If you need support IE8 or IE9 use v1.9.1, if you care or not worried any version that should work.

    Bit of background, I present in parallel positions (so no waiting) and then launch a function to run when one of them come back, so he won't be the one who finishes first question. You can set the action in the javascript or the line of action in the form itself. The second URL action lies in the function itself, but it could be anywhere.

    This code is not tested, but you should get on your way, please let me know if you have any questions, happy to help you.

  • A single document, two page layouts?

    Hello, I have a document formatted for export to epub. I would also to export as pdf, but need to change the layout of formatting, etc to do. I need to create a second file for the pdf layout? I want to avoid the two documents that I should update the other whenever I have make changes to one. Basically, I want to make a single document with two layouts, so I can export to epub or pdf with each update.

    I don't think it will work for EPUB.

    You can configure two layouts for the EPUB and PDF:

    You would have two master pages, two series of paragraph styles, etc.

    The problem is to export. If you export PDFS, you can choose a range of pages. You can choose, in this example, to export "PDF:1 - 11" to export those pages.

    However, the EPUB export dialog box, has no option to export a range of pages. It's all or nothing. It exported everything on these two sets of pages into a single stream.

  • an e-mail to the recipient form two PHP - only send one?

    have the form when it is sent to be directed to two recipients how it only happened to one, what am I doing wrong please?

    @mysql_select_db ($database_hostprop, $hostprop);

    $Result1 = mysql_query ($insertSQL, $hostprop) or die (mysql_error ());

    Email Admin

              $to = " [email protected] ".","; "

              $to = " [email protected] "; "

    Email tenant

    $subject = "new";

    $message ="

    < html >

    < head >

    New < title > < /title >

    < / head >

    < body >

    < b >

    < td > < table > comments

    < td >. GetSQLValueString ($_POST ['otherComments'], "text"). "< table >

    < /tr >

    < / body >

    < / html >

    ";

    Content-type always defined when sending HTML email

    $headers = "MIME-Version: 1.0 '. « \r\n » ;

    $headers. = "content-type: text / html;" charset = iso-8859-1 ". « \r\n » ;

    $headers. = "from: www.website.com < " [email protected] > '. "\r\n";

    $send = mail ($to, $subject, $message, $headers);

    Thanks in advance

    OK market

    changed

    $to ="[email protected],[email protected];

    Thank you

  • Insert multiple records in the single form

    Hi all

    I met already insert many rows into a table using ADF BC. The solution is in the following thread

    Re: How to create several new lines in the Table of the ADF?

    However,.
    The above solution is useful when you want to enter new values as well as all the table entries is displayed.
    What can I do if I don't want all values in the table, but just a page 'AddEntries' where I can only add new lines without going through the table entries is displayed.

    As,

    Say a form has 5 rows

    Each line has empId, eMailSlNo, send attributes

    EmpId is the same for all 5 recordings but emailId is different.

    EmpId eMailSlNo plus the PK.

    empId generated by the sequence.

    Now, on presentation of the form, I want all five records to be inserted.

    (can I use ADF form instead of the table of the ADF for the ViewObject in this case. I tried ADF form but I could only insert 1 plug at the same time).

    I use 10.1.3.4

    Help, please.

    Thanks in advance,
    Shri

    Published by: newtoOTN on December 29, 2009 18:02

    Shri salvation,

    ADF form is intended for the single insert/update. For multiple insert/update/delete using the collection as table UI is preferred. I guess your db table or table design INTERFACE default (in my opinion but I do not know your usecase entirely, so I guess might b wrong).

    I would say,

    -make EmpId as PK
    -have another table to store EmpId (foreign key), emailSiNo, email
    -Having the relationship of the master / detail between the British Colombia ADF db tables.
    -Create master / detail UI and on the selection of the master, view the details and if no record is found does not add files and commit.

    See these examples:
    http://www.Oracle.com/technology/products/jdev/tips/Mills/MasterDetailSync/Master_Detail_Synchronization_in_ADF_Faces.html
    http://andrejusb.blogspot.com/2007/06/create-edit-and-delete-operations-in.html

    Hope it makes sense.

    ~ K

  • Composite validation JavaScript form - two datagrids

    Hi guys,.


    I had a problem with the use of javascript for form validation.

    We have a composite form, each form has a grid. We have therefore two grids that are displayed on the composite shape.

    We want to check if the value entered by the user in a cell in a grid is equal to the sum of the values in a line another grid.

    I tried, but stuck with the currentdatagrid thing.

    Currentdatagrid, from what I've seen, is applicable to the grid that has the focus.

    How can I switch from one grid to another, or can access two grids in the validation function? Any ideas?

    Thank you.

    Hello

    currentDataGrid looks like a HspDataGrid objects, to be able to move on the grids, you can use something like

    currentDataGrid = dataGridArray [0];
    var nextGrid = dataGridArray [1];

    so now wil the first form and nextGrid currentDataGrid will be the 2nd form.

    They both follow the same logic for a HspDataGrid object for example

    Alert (nextGrid.fullPrecision [Row] [col]);

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ASA (8.03) context single mode can support the limits on resources?

    I have double ASA with v8.03 and I want to limit resources for SSH, telnet and ASDM sessions.

    By checking the Cisoco document, I can handle test to limit the resources with the commands below. But they can't do that after you have enabled multiple context mode.

    default class
    limited resources all 0
    SSH 2 resources
    2 limit-resources of the ASDM
    2 resources limit of Telnet

    Can anyone help answer if we use "limit-resource" in the single context (without activating the mode multi context)? Or any other way to limit the resources?

    Hello.

    In simple mode, the limit is 5 maximum sessions. It is not possible to change.

    Kind regards

    Fadi.

    Does that answer your question? If Yes please mark he replied.

  • IS that the recognition of forms Webcenter supports Oracle database 12.1.0.2

    Hi Experts,

    I have already installed Imaging Webcenter with Oracle 12.1.0.2 database now when I installed the recognition of forms WebCenter and want to connect to Oracle DB 12.1.0.2 get the below error.

    Error:

    Unable to connect to the database using the credentials provided due to an unknown error

    Please let know us if I need to install 11g only.

    Thank you

    Sanjeev

    You should be aware of this database server name format is as below:

    /

    You have only provided that's why the name of the instance to complain.

  • Insert records from a single to two related tables table

    DB - 10G
    OS - XP

    We have thousands of records delimited by commas that we want to insert in a normalized table structure.

    I created a group of test data that can be found at the end of this post.


    I have csv files that look like this;

    Donald, huey
    Dewey, Donald
    Donald, louie

    And I want that data to be inserted into a table separate two like that;

    table named PARENTS
    parent_name PK
    1 donald

    Table named for CHILDREN
    child_name fk PK
    1 1 huey
    1 2 dewey
    1 3 louie


    I built an insert query that looks like this;

    INSERT ALL
    IN parents (parent_id, parent_name) VALUES (parents_seq.nextval, parent_name)
    IN children (children_id, parent_id, child_name) VALUES (children_seq.nextval, parents_seq.nextval, child_name)
    SELECT parent_name, child_name
    SOURCES;

    And this has resulted in the following:

    Table named PARENTS
    PK child_name
    1 DONALD
    2 DONALD
    3 DONALD

    Table named PARENTS
    child_name fk PK
    1 1 HUEY
    2 2 DEWEY
    3 3 LOUIE

    Anyone have any ideas on how I could accomplish this task?

    This is some sample data;

    [code]
    Parents_seq SEQUENCE DROP;
    Sources_seq SEQUENCE DROP;
    Children_seq SEQUENCE DROP;
    Sources of DROP TABLE.
    DROP TABLE children;
    Parents of DROP TABLE;

    CREATE SEQUENCE PARENTS_SEQ MINVALUE MAXVALUE 1 1000000000000000000000000000 INCREMENT OF 1 START WITH 1 CACHE 20 ALL NOCYCLE.

    CREATE THE PARENTS TABLE
    (THE NUMBER (8) OF PARENT_ID NOT NULL)
    PARENT_NAME VARCHAR2 (50 CHAR) NOT NULL,
    CONSTRAINT PARENTS_PK PRIMARY KEY (PARENT_ID)
    );

    create or replace
    PARENTS_BI RELAXATION
    FRONT
    INSERT OR UPDATE PARENTS
    FOR EACH START OF LINE

    IF THE INSERTION

    IF: NEW. PARENT_ID IS NULL THEN
    SELECT PARENTS_SEQ.nextval IN: NEW. PARENT_ID FROM dual;
    END IF;

    END IF;

    END;
    /


    CREATE SEQUENCE SOURCES_SEQ MINVALUE MAXVALUE 1 1000000000000000000000000000 INCREMENT OF 1 START WITH 1 CACHE 20 ALL NOCYCLE.

    CREATE TABLE SOURCES
    (THE NUMBER (8) OF SOURCE_ID NOT NULL)
    PARENT_NAME VARCHAR2 (50 CHAR) NOT NULL,
    CHILD_NAME VARCHAR2 (50 CHAR) NOT NULL,
    CONSTRAINT SOURCES_PK PRIMARY KEY (SOURCE_ID)
    );

    create or replace
    SOURCES_BI RELAXATION
    FRONT
    INSERT OR UPDATE ON SOURCES
    FOR EACH START OF LINE

    IF THE INSERTION

    IF: NEW. SOURCE_ID IS NULL THEN
    SELECT SOURCES_SEQ.nextval IN: NEW. SOURCE_ID FROM dual;
    END IF;

    END IF;

    END;
    /

    INSERT INTO SOURCES (PARENT_NAME, CHILD_NAME) VALUES ('DONALD', 'HUEY');
    INSERT INTO SOURCES (PARENT_NAME, CHILD_NAME) VALUES ('DONALD', 'DEWEY');
    INSERT INTO SOURCES (PARENT_NAME, CHILD_NAME) VALUES ('DONALD', 'LOUIE');
    Commit;


    CREATE SEQUENCE CHILDREN_SEQ MINVALUE MAXVALUE 1 1000000000000000000000000000 INCREMENT OF 1 START WITH 1 CACHE 20 ALL NOCYCLE.

    FAST * CREATE TABLE *.
    CREATE TABLE CHILDREN
    (CHILDREN_ID NUMBER OF NON-NULL
    , PARENT_ID NUMBER NOT NULL
    CHILD_NAME VARCHAR2 (50 CHAR) NOT NULL,
    CONSTRAINT CHILDREN_PK PRIMARY KEY (CHILDREN_ID)
    );

    create or replace
    CHILDREN_BI RELAXATION
    FRONT
    INSERT OR UPDATE ON CHILDREN
    FOR EACH START OF LINE

    IF THE INSERTION

    IF: NEW. CHILDREN_ID IS NULL THEN
    SELECT CHILDREN_SEQ.nextval IN: NEW. CHILDREN_ID FROM dual;
    END IF;

    END IF;

    END;
    /

    [code]

    Looks like it's a way to do this:

    insert into parents (parent_name) select distinct parent_name from sources;
    
    select *
      from parents;
    PARENT_ID              PARENT_NAME
    ---------------------- --------------------------------------------------
    1                      DONALD
    
    insert into children (parent_id, child_name)
    select p.parent_id, s.child_name
      from sources s
      join parents p
        on (s.parent_name = p.parent_name);
    
    select *
      from children;
    
    CHILDREN_ID            PARENT_ID              CHILD_NAME
    ---------------------- ---------------------- --------------------------------------------------
    1                      1                      HUEY
    2                      1                      DEWEY
    3                      1                      LOUIE
    

Maybe you are looking for

  • Power on Satellite P100 problems

    Hello I just had my second adapter percent machine and it sounds like a common fault with this model (P100-286). Is it possible to change the power supply of a 4 pins that I have now to single round pin that seems more robust that I have a second lap

  • Fan and shut down

    Hello guys,. When I play video games, the fan is very loud, and when I leave the game, the Mac is running more slowly than usual for about the first five minutes. If I want to stop immediately after leaving the game, I let my Mac cool before shutting

  • The column number of FreeCell

    Greetings! My Freecell game does not work as usual. Unfortunately, one of the columns form undearneath another. Therefore, one of the columns are left enpty and will accept the cards. I followed the instructions above I found in a fo the forums to re

  • event/application of display screen shows 'Warning' to an entry (after "check disk"), how do I do now?

    Hello- After the race "check disk", I went to the visualization/event application screen.  I had a 'warning' / / source, windows search service / / category, Gatherer / / event, 3086. "When I clicked on it, I arrived at the EVENTS AND ERRORS MESSAGE

  • RV320 Hairpin (intra-interface)

    I use the RV320 router soon and I'm putting all the services I need. This router uses 2 networks, one with the public, the second IP address with the IP address of the provider network. All local network to the internet traffic going to more non-publ