Multiple forms in one region???

Hello guys,
I have created application with couple of pages, but now I have one critical issue with one page.
In this page I have created multiple forms in one region by customize templated, that is working very much fine, but I unable to insert/update data into the DB table through this page.
My sinceraio is something like that, I have couple of tables, where p_id is common in all of the tables, now this issue page I have created multiple(2) forms in one region where both the forms are built but two separated DB tables in one both of them has one column in common ie p_id, the value of p_id is processed from the previous page.
I am aware of the apex limitation about one table for region and hence I created View from this two different tables and above that created INSTEAD OF trigger for insert and update purpose as through I can't, so.
got the help from this below forum:-
Report & form on Multiple table
But still I am unable to get any sucess.... if somebody can help me out...????
I have created same example on apex workspace... let me know if you need any credentials than...???
Thanks
regards,
Kumar

Hi again,
I'm getting error as :-
ORA-20508: Unable to perform insert operation. -22816 ORA-22816: unsupported feature with RETURNING clause
Error Unable to process row of table RENAL_BIOPSY_SYMPTOMS.
OK
I have created view on 2 tables as :-
CREATE OR REPLACE FORCE VIEW "RENAL_BIOPSY_SYMPTOMS" ("P_ID", "RENAL_BIOPSY_CONDUCTED_YN", "DT_CONDUCTED", "CONFIRMED_BY", "REPORTED_ON_BY", "INSTITUTION", "RESULT_TYPE", "COMMENTS", "HEMATURAI_YN", "HEMATURAI_DT", "MICROHEMATURIA_YN", "MICROHEMATURIA_DT", "PROTEINURIA_YN", "PROTEINURIA_DT", "HYPERTENSION_YN", "HYPERTENSION_DT") AS
SELECT
RB.P_ID,
RB.RENAL_BIOPSY_CONDUCTED_YN,
RB.DT_CONDUCTED,
RB.CONFIRMED_BY,
RB.REPORTED_ON_BY,
RB.INSTITUTION,
RB.RESULT_TYPE,
RB.COMMENTS,
SY.HEMATURAI_YN,
SY.HEMATURAI_DT,
SY.MICROHEMATURIA_YN,
SY.MICROHEMATURIA_DT,
SY.PROTEINURIA_YN,
SY.PROTEINURIA_DT,
SY.HYPERTENSION_YN,
SY.HYPERTENSION_DT
FROM
RENAL_BIOPSY RB
INNER JOIN
SYMPTOMS SY
ON
RB.P_ID=SY.P_ID
and created INSTEAD OF trigger on the above view as:-
CREATE OR REPLACE TRIGGER "RENAL_BIOPSY_SYMPTOMS_TRIGGER"
INSTEAD OF INSERT ON "RENAL_BIOPSY_SYMPTOMS"
FOR EACH ROW
BEGIN
DECLARE
PAT_ID NUMBER;
BEGIN
INSERT INTO RENAL_BIOPSY (RENAL_BIOPSY_CONDUCTED_YN, DT_CONDUCTED, CONFIRMED_BY, REPORTED_ON_BY, INSTITUTION, RESULT_TYPE, COMMENTS)
VALUES (:NEW.RENAL_BIOPSY_CONDUCTED_YN, :NEW.DT_CONDUCTED, :NEW.CONFIRMED_BY, :NEW.REPORTED_ON_BY, :NEW.INSTITUTION, :NEW.RESULT_TYPE, :NEW.COMMENTS)
RETURNING P_ID INTO PAT_ID;
INSERT INTO SYMPTOMS (P_ID, HEMATURAI_YN, HEMATURAI_DT, MICROHEMATURIA_YN, MICROHEMATURIA_DT, PROTEINURIA_YN, PROTEINURIA_DT, HYPERTENSION_YN, HYPERTENSION_DT)
VALUES (PAT_ID, :NEW.HEMATURAI_YN, :NEW.HEMATURAI_DT, :NEW.MICROHEMATURIA_YN, :NEW.MICROHEMATURIA_DT, :NEW.PROTEINURIA_YN, :NEW.PROTEINURIA_DT, :NEW.HYPERTENSION_YN, :NEW.HYPERTENSION_DT);
END;
END;
ALTER TRIGGER "RENAL_BIOPSY_SYMPTOMS_TRIGGER" ENABLE
My apex workspace is :-
ws :- newapex
us :- [email protected]
ps :- kg
and application as "BeforeDemo_Application" with page as 6(the ISSUE page).
Any help guys..... appreciated..!!!!
Regards,
Kumar

Similar Messages

  • Multiple form inside one jsp file

    I have to use nested jsp forms in my latest project
    ex:-
    <html>
    <head>
    </head>
    <body>
    <form id="form1" name="form1" method="post" action="ex.htm">
    <form id="form2" name="form2" method="post" action="ex2.htm">
    </form>
    <form id="form3" name="form3" method="post" action="ex3.htm">
    </form>
    </form>
    </body>
    </html>
    Can some one tell me, is there a way to submit the each forms seperatly?
    -----------------------------------------------------------------More on problem-----------------------------------------------------------------
    I am developing e-savings application.
    When the customer enter the accountno i need to display details - for this i use "form1"
    When the customer enter the withdrawal amount i need to display the balance - for this i use "form2"
    Finally i use "form3" to submit the data.
    I have done all the things inside one jsp page.
    I think you are now clear in my problem and hope best solution....
    Thank you........

    According to the HTML specification, you may not nest forms.
    You can use multiple forms as long as you don´t nest them.

  • Multiple Forms on One page

    Hi,
    I am trying to create multiple forms based on different tables on ONE page. But some how I get errors in the Automatic process (fetch,insert, and update) which gets created when you create a form.
    The tables i am using have some common colomn_name but i when creating form i am not including those columns.
    For eg. all my table have create_by,update_by column but i am not add these columns in the form as they are updated by the DB trigger.
    Vikas

    Vikas,
    create one form using wizard and the others manually.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Multiple reports in one region

    Hi
    Ive got 2 views that i want to display in one region, as i have to pass in a value into a page item froma column link, is this possible or is there such a thing as a glbal item that can be incorporated into multiple regions.
    Marco

    Hi Marco,
    You can have as many reports in a region as you like. When you create a report just put it in the same region position - using the sequence numbering to put them in the order you want them to appear.
    However, I think what you really mean is that you want to specify one value for the page that can be used for both reports?
    If so, all you need to do is have a hidden page item at the TOP of the page and set this value with your column link. ALL your reports can then use this value as a filter.
    It is also possible to use Application Items - these are created through Shared Components and can be set/used anywhere
    Andy

  • Region formatting - multiple tables inside one region?

    Hey there. first of all, I wondered if anyone had a good reference for formatting regions. I am having some difficulty finding good material.
    What I am trying to do is create 3 tables inside a region, each with different backgrounds, displayed side by side. like this:
    | | |
    I'm completely at a loss as of how to get the next table to come back up to the top. I am using template 16, which puts a border around regions and makes them minimize-able, so I want it to be all or nothing. any help in this formatting dilemma would be awesome.
    Message was edited by:
    in3d

    I need to do something similar but I wasn't sure what you meant by:
    and wrap each of the report tables within DIV tags.I have one region based on one sql query. I just need to display fields I specified on the one sql query to appear in 3 different columns in the region.
    Could anybody give some more details on this?
    Thanks!

  • Printouts for multiple forms in one click

    Hello Experts,
    I have one print program for Adobe form. Here If I enter 10 pernrs in the selection screen.. I will get 10 adobe forms in the output. By clicking right/left arrow in the application tool bar (which appears if there are more than one form generated), I can see all forms and I can print each form.
    Now the problem is, I got the requirement where I can click on one push button or icon on the output screen and It should print(sending to Printer) all 10 forms in one attempt.
    Please let me know if you need any further information on this.
    Note that its not about output display.. It should be remain same. The solution required only for the Paper printouts in one click.
    Thanks,
    Naveen Inuganti.

    Same question asked here: Printing all Adobe form in one attempt
    Two things I can add here:
    - if you want to achieve a better performance, set up the caching, the forms will then not be reloaded during each printing, the cached version will be used instead. Be careful, that may mean the form will behave a little crazy during the development (that is why I always turn off the caching on the development system)
    - if you want to be precise as possible loop at the source table outside the printing block, get the data and next inside the printing block (JOB_OPEN and JOB_CLOSE) loop at the data again and ask for the prints. Since everything is inside one block, it will be exchanged with the webservice (ADS) in one call
    Hope that helps, Otto

  • Multiple Forms w/ One Submit Button

    Hello,
    I'm trying to create something for a little league team. I
    have a MySQL database with 2 columns, i.e. Name/Age.
    I currently have 9 forms on one page, with one submit button.
    Name - (Text Field)
    Age - (Text Field)
    Name - (Text Field)
    Age - (Text Field)
    etc.
    I only want one submit button to submit all the forms into
    the name/age columns of my database instead of having to include a
    different button next to each form. But, so far, when I try,
    instead of inserting all 9 forms with the one submit button, only
    the first form gets inserted into the name/age columns of my
    database. I'd greatly appreciate any help. I have no idea what to
    do.

    quote:
    Originally posted by:
    bregent
    That will never work. Use 1 form and then either write a
    script
    Thanks for the help bregent. You mean like a PHP script or
    something?
    quote:
    Originally posted by:
    bregent
    use a stored procedure to loop through the fields and insert
    them into the db.
    I know wayyyy to little about web design to understand what
    that means.
    Thanks,
    Jennifer

  • Multiple Reports In One Region - Question For Denes Kubicek

    Denes,
    I looked at what you've done on your demo app 31517, Page 152
    (http://htmldb.oracle.com/pls/otn/f?p=31517:152), in which you place several reports in the same region. It is nicely done and a great example of something I
    need to do at my work place.
    I have two questions.
    1) In your explanation link (takes me to your blog) you say you made changes to a copy of the Report Template and placed this copy into a copy of the Standard Page Template. However, I see that your reports are set to "No Template".
    I've probably missed something here, but don't know what.
    2) A more general question ... I'm intrigued in how you get tab item in, say, your Section 4 Tab Set (or any of the other Tab Sets) to "Stand Out" in bold letters
    when clicked on. How are you doing this?
    Thanks very much for your help. Yours is one of the great sites to learn from.
    Elie

    Apex v4. has parent and child regions (subregions) where child regions display inside the parent. If you make the child regions with no template, they will probably appear as if it's just two reports in one region.
    Problem is, they display one above the other, not side by side. But there's been a recent thread on working around this just in the past few days on this forum.

  • Submiting multiple forms with one button

    I have a form that has a cfform within it. The cfform has a
    cfloop in it that includes an id and a dropdown list box that
    includes a new id. I want to transfer one id to another. I want the
    user to be able to click on one button that would update all the
    rows in the table with the new id.
    If there are 3 rows in the query, the user would select an
    entry in a dropdown for each row and upon clicking on the submit
    button all three rows would be updated with the id selected from
    the dropdown.
    Any suggestions?
    Thanks for the help!
    Gary

    There isn't a way to set this up using the Paypal payment integrated into FormsCentral using seperate forms for each child, you can set up one form so they can register additional children and then pay in one session, but if you need each child to be a unique form submission it can not be set up to pay for multiple at once.
    Thanks,
    Josh

  • Submitting multiple forms with one Submit button?

    I'm working to create a web app for the iphone and am using
    an apple developed css within an html page. In doing so I have
    created three forms within the single page and would like to submit
    them simultaneously with one submit. I've looked and tried a few
    javascripts but nothing has worked thus far. All three forms call
    the same action (php).
    Is this possible using js or another function?

    .oO(iRyFlash)
    >I'm working to create a web app for the iphone and am
    using an apple developed
    >css within an html page. In doing so I have created three
    forms within the
    >single page and would like to submit them simultaneously
    with one submit. I've
    >looked and tried a few javascripts but nothing has worked
    thus far. All three
    >forms call the same action (php).
    >
    > Is this possible using js or another function?
    Make it a single form.
    Micha

  • Multiple Forms in one Spool

    I have one program that generates a Smartforms and then it submit another program that prints another forms. Both programs use OPEN FORM to create it and those programs are called via SUBMIT command. The problem is that I tried to use the parameter "NEW SPOOL" to print all documents using one spool request, but it didn't work... Anybody knows another solution to this problem?

    Ariel,
    Try the following approach (always works)
    <b>OPEN_FORM</b>
    ..<b>START_FORM "First Form</b>
    ...<b>WRITE_FORM</b>
    ..<b>ENDFORM</b>
    ..<b>START_FORM "Second Form</b>
    ...<b>WRITE_FORM</b>
    ...<b>WRITE_FORM</b>
    ..<b>ENDFORM</b>
    <b>CLOSE_FORM</b>
    Hope that helps!
    Rishi
    PS: the option you mentioned <b>ITCPO-TDNEWID = SPACE.</b> only works when all the parameters in ITCPO remains the same for both the spool requests and allong with ITCPO-TDNEWID = SPACE

  • Printing multiple forms for one output types.

    Hi,
    I need to print the form 4 times for one specific output type.  My internal table contains only one record, but for that one record also i need to print 4 forms. How can i do this, i tried using control parameters but in vain.
    Any suggestions of how to achieve this,
    Thanks & Regards,
    Ramana.

    Hi,
    I am working with only one smart form. But there are different output types(ZVSL, ZVFX, ZVFE & ZVFI) configured for that form. But for one specific output type (ZVSL), i need to repeat the print for 4 times.
    Thanks & Regards,
    Ramana

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone!
    I have some what of a dilemma on my hands. I am creating
    multiple forms in one document using Flash and need them to post
    using ASP script. I have been researching this for the last six
    days, and I have had NO luck. I have noticed that all the
    information that I have found is for one form, not more than one.
    What I have so far is the Flash document, with 4 forms. The
    basic idea is that a user chooses from a drop down menu (the
    combobox) a location, and depending on the location chosen, it
    takes the user to another frame in the flash document. The forms
    (all their own movie clip) contains a name field, a department
    field, and either a manager name a userID field or an employee
    number as well as the basic buttons for submitting the form or
    resetting the form.
    So far what I have working is the drop down menu (combobox)
    taking me to the proper frame and it shows the appropriate form.
    The reset button clearing the form (deleting any information that I
    have imputed into the input fields), but I have absolutely NO idea
    how to get the submit button to work (I did manage to get it to
    send me a message if there was nothing in one of the input fields),
    and NO idea how to get the information to the ASP file.
    Where there are 4 forms do each of them have to have their
    own ASP file attached to them, or can I use one?
    If anyone knows a site that deals with multiple forms in one
    SWF and posts using ASP that would be greatly appreciated, or if
    you know some actionscript that could be helpful.
    Thank you all in advance.

    That would be part of my problem, I really don't know ASP,
    and I am flying by the seat of my pants.
    The current script I have for the ASP file is:
    <% @Language = "VBScript" %>
    <%
    Option explicit
    Dim strfullName
    Dim strdeptName
    Dim strmanagerName
    Dim strobjeemail
    Dim strlocation
    strfullName.Request.Form("fullName_txt")
    strdeptName.Request.Form("deptName_txt")
    strmanagerName.Request.Form("managerName_txt")
    strlocation.Request.Form("locationName")
    Set strobjemail = CreateObject("CDO.Message")
    strobjemail.From = "[email protected]"
    strobjemail.To = "[email protected]"
    strobjemail.Subject = "Program from " + strlocation
    strobjemail.Body = "This user has completed this progrmam
    from " + strlocation & Chr(13) & Chr(10) & "Name: " +
    strfullName & Chr(13) & Chr(10) & "Department: " +
    strdeptName & Chr(13) & Chr(10) & + "Manager: " +
    strmanagerName
    strobjemail.Send
    Set strobjemail=nothing
    %>
    The AS code that I have so far is:
    function formValidationChecks(){
    if (fullName_txt.length==0){
    status_txt.text = "Please enter your Name";
    else if (deptName_txt.length==0){
    status_txt.text = "Please enter your Department";
    else if (managerName_txt.length==0){
    status_txt.text = "Please enter your Manager";
    else {
    status_txt.text = "Thank You!";
    variables.fullName_txt = fullName_txt.text;
    variables.deptName_txt = deptName_txt.text;
    variables.managerName_txt = managerName_txt.text;
    varLoader.load(varSend);
    trace("-----");
    trace("Name: "+fullName_txt.text);
    trace("Department: "+deptName_txt.text);
    trace("Manager: "+managerName_txt.text);
    trace("Form validated");
    submit_btn.onRelease = function(){
    status_txt.text = "";
    if(formValidationChecks()){
    var lv = new LoadVars();
    lv.fullName_txt = form.fullName_txt.text;
    lv.deptName_txt = form.deptName_txt.text;
    lv.managerName_txt = form.managerName_txt.text;
    lv.sendAndLoad("mail.asp", lv, "POST");
    reset_btn.onRelease = function()
    fullName_txt.text = "";
    deptName_txt.text = "";
    managerName_txt.text = "";
    So far my reset button clears everything, and the submit
    button is tracing the content in the form fields, but it's not even
    grabbing the asp page.
    Any suggestions? Even pages that have tutorials that are in
    the form of a video.
    Thanks

  • Results of multiple queries in one report

    Hi
    I would like to create one report with multiple rows and each row should display result of a different query.
    I guess I can use multiple report on one region or multiple regions in one place.
    (1)However is there a more elegant way of creating a single report look and feel...eg like it would happen in excel.
    (2)Is it better to have one page with multiple regions or multiple reports in one region.
    Thanks
    Faizi

    I'm not sure if it suite your needs,
    but maybe you can use UNION in your queries to get them together in one report ??
    Second option:
    Denes did great work and he created some how-to about putting mulitple reports in one region:
    http://deneskubicek.blogspot.com/2007/06/multiple-reports-in-one-region.html
    Hope this helps.
    Tomasz K.

  • Unable to open/minimize multiple forms

    Hi All,
    I'm using the R11 vision instance & at any point of time, I can open only one form in an responsibility. If i minimize the existing opened forms & try to open a new one, the minimized one closes, is there any setting to prevent this?
    I want to open multiple forms or keep them minimized so that I can switch over them easily.
    Regards,
    Hemanth

    Hi Hemant,
    I'm using the R11 vision instance & at any point of time, I can open only one form in an responsibility. If i minimize the existing opened forms & try to open a new one, the minimized one closes, is there any setting to prevent this?
    As far as I know you can not open multiple forms in one login that is the standard feature.
    I want to open multiple forms or keep them minimized so that I can switch over them easily.
    You can login on multiple windows with your same username and password for this.
    Thanks,
    Anchorage

Maybe you are looking for

  • CTS+ - Release button missing in CTS browser

    Hello, I am trying to set up CTS+ for our Portal environment. I can create a transport in the Portal, add objects and export. But when I go to the CTS browser Web UI interface through the link beside the transport in the Portal, I don't have the rele

  • Syncing calendars iPad to iPhone

    I have an iphone4S and want to sync my calendars to my iPad mini but can't seem to get this sorted I also have an iPad 3 and the calendar on this syncs just fine If anyone could give me a step by step instructions I should be very pleased Thanks

  • Plain White Border in Mozilla is Corrupted

    I used CSS to add a plain white thin border around an swf. It displayes properly in IE, but in Mozilla and Safari you only see the lower 5th of the border and the rest is missing. Here is the code: #gallery01 { border: thin solid #FFF;

  • Can we make service entry sheet against contract

    Can we make service entry sheet against contract without releasing service order.

  • CS3 ftp problems

    Hi I have a client who wants to use contribute. I set it up on my computer to test it out. I was able to edit frm contribute BUT after that when I went into DW I could not up load any images (even small 1kb .gifs) I kept receiving the error: images:e