Form and report on the same page...

Hi,
I want to have a form and report on the same page... as soon as user enters the information and submit the form via button then the report should be able to display the addition...
may I know how to accomplish this...
Thanks in advance

Hi
Can you try like this
1.First create an empty page and add a html region and template as form region and add the necessary fields to insert into table
2. create a another region with type as "SQL Query" and template as report region and add the necessary fields for the reports.
Once u entered the details into form region and created process and insert into table and then automatically the report region query will fetch the recently added row and displays in the report.
Hopes this might helps you.
Thanks & Regards
Srikkanth.M

Similar Messages

  • How to do a partial refresh of a form and report on the same page?

    Hi all,
    im trying to make a page where you have a report on top and when you click the link instead going to the form page, the form page is on the bottom of the report. lets say im trying to send an id from the report to the item below so that i could fetch the rest of the item. however when i pass,other items would still refer to this one as null.
    if im not mistaken this could be done with submit,but i want it to be partial refresh..
    i tried steps here but this only worked when the lower part is a also a report:
    https://forums.oracle.com/thread/2345863
    i also tried this,but this actually submits a page..
    Grassroots Oracle: Apex Tutorial - Form & Report sharing the same page
    would it be possible to get a form and report in one page as partial refresh?
    Message was edited by: T101_cyberdyne

    If so, you need to create a dynamic action with a javascript action to set the id of the report row in the id form field, and a subsequent pl/sql action to fetch the record based on the id. You can use this record to set the other form field items.
    For the example in the above link the code looks as follows.
    the javascript action:
    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text()
    $s('P26_EMPNO',empno)
    the PL/SQL action:
    declare
    cursor c_emp is
    select * from emp
    where empno = :p26_EMPNO;
    BEGIN
    for r_emp in c_emp loop
      APEX_UTIL.SET_SESSION_STATE('P26_ENAME',r_emp.ename);
      APEX_UTIL.SET_SESSION_STATE('P26_JOB',r_emp.job);
      APEX_UTIL.SET_SESSION_STATE('P26_MGR',r_emp.mgr);
      APEX_UTIL.SET_SESSION_STATE('P26_HIREDATE',to_char(r_emp.hiredate,'dd-mon-yyyy'));
      APEX_UTIL.SET_SESSION_STATE('P26_SAL',r_emp.sal);
      APEX_UTIL.SET_SESSION_STATE('P26_COMM',r_emp.comm);
      APEX_UTIL.SET_SESSION_STATE('P26_DEPTNO',r_emp.deptno);
      APEX_UTIL.SET_SESSION_STATE('P26_ORDNO',r_emp.ordno);
    end loop;
    END;
    Hi Vincent,
    Yes! im looking for something similar. This looks interesting. I did look into apex_util.set_session_state yesterday but didnt know how to apply. perhaps i was doing it wrong.
    Question though, so basically first use the javascript to send the EMPNO from top report to the EMPNO in the form fields below.
    Then based on the EMPNO received in the form, do a loop to get the rest and put it into session. Correct?
    if i'm not mistaken i did something similar,but when i tried to set session for the rest,it refers to to the p26_EMPNO still as null..does the javascript sets the id of report to the id of the form or does it just send over?
    i'll try it out.
    Thanks.

  • Parameter screen and report in the same page?????

    Hi Gurus...
    Here is what i am trying to do ..I am trying to show the customization screen and the report in the same page
    1.the user selects some data from the lov ..
    2.Based on the lov selected field the below report should change ..
    like if the user selects PA in the lov the bottom should show all the data in PA ..
    This is possible in pl/sql calling htp calls ,But is there any way to do this in portal ????
    Thanks in advance
    Sing

    Hi,
    Sorry I forgot to give you some sample code of the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <H1>Example of A Dynamic Page</H1>
    <ORACLE>
    begin
    report1.show_parms;
    end;
    </ORACLE>
    </BODY>
    </HTML>
    In the above code this dynamic page is calling the customization form of a report called report1.
    Thanks,
    Sharmila

  • Parameters and report on the same page

    I am new to HTML_DB. I would appreciate your help with the following:
    I have html page with items(parameters) and report on the same screen.
    Items are:
    Customer: Select list with Submit
    Invoice No.: Select list - Populated invoices numbers for the selected customer
    Department: Select List
    Prod Month: Date Picker
    Button: Report View.
    Users can select any of the above parameter to create a report. The problem is when I don't select any customer and just select the department or prod month and click on a Report View button, I get SQL error in the Invoice Number item.
    It seems when the page refreshes to create a report Invoice Number items sql query is executing but when it does not find the customer name, it’s giving the error.
    If I select a customer name, the page gets refreshed and the report is generated. I don’t want to create a report when they select a customer. I want them to select the parameters and click on the Report View button to create the report on the same page.
    Thank you.
    Regards,
    Rek

    Sounds like you are building the query string and submitting that and the fact that they leave something out messes up that string...<br><br>If that's the case, you can add validations to the page to make sure they enter in all the appropriate information.<br><br>
    chet

  • LOV SELECTION AND REPORT ON THE SAME PAGE

    Hi Friends ,
    Here is what i am requesting your help ...My requirement is to show one dropdown /lov and a report underneath it ..like if you have selection 1.pa 2.ky 3.ny 4.nj
    in the lov and if user selects nj onchange the report should show up on the same page ??? Is it possible in portal using forms and reports or ?? If so please help ???
    Vis

    Hi,
    You can use javascript to do this. In the onChange event you can call a new url.
    window.open(new_page_url_with_report);
    Thanks,
    Sharmila

  • How can I put report parameters and report on the same page?

    I want to have a page that has user input (text fields, checkboxes, radio buttons, etc.) at the top of the page, with a submit button. When the user submits the page, I want the resulting report (returned from a query) to display below the input area.
    With ASP or JSP I would write a page with a FORM at the top, with the ACTION submitting to the same page. If the ASP/JSP detects it was submitted (by looking at the request URL or form parameters), it queries the database and displays the report; otherwise it doesn't query the DB or show any report.
    How would I do this with with portlets?
    Thanks!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hui Zeng ([email protected]):
    1. Create a form using the Appbuilder
    2. build a report
    3. create a dynamic page, in this page
    call the form, then query the databse:
    <oracle>
    begin
    portal30.wwa_app_module.new_instance(
    p_moduleid=>1060253649);
    end;
    </oracle>
    <p>
    <oracle>
    begin
    scott.example_report.show(
    p_arg_names=>portal30.wwv_standard_util.string_to_table('_show_header'),
    p_arg_values=>portal30.wwv_standard_util.string_to_table('NO')
    end;
    </oracle>
    4. expose this dynamic page as a portlet <HR></BLOCKQUOTE>
    I tried the above, but it didn't work. The form was displayed, but I couldn't find any way to make it go to the report. Is there something more that needs to be done? I'm new to Portal, so any help you can give me on entering parameters and passing them to a form (preferably on the same physical page) would be appreciated.
    null

  • FORM and JSP in the same page

    Hello All
    Is it possible to pass variable from a html textbox to a JSP? but they both are in the same page.
    For this purpose, I have a created a index.html, which contain two frames, top.html and bottom.jsp. There is a textbox in the top.html, it collects 2 variables and use form action "POST" to call bottom.jsp to display a graph.
    However after I run this page on Tomcat, it gave me error message in the bottom.html:
    The server encountered an internal error () that prevented it from fulfilling this request.
    Can anyone teach me how to solve this problem? Thanks a lot
    Viola
    index.html
    ===============================
    (FRAME) top.html
    <form action="bottom.jsp" method="post">
    <input type="text" name="apple">
    <input type="text" name="orange">
    ===============================
    (FRAME) bottom.jsp
    String apple = request.getParameter("apple");
    String orange = request.getParameter("orange");
    use those two variables to do something
    and display a graph

    The problem is that both pages are loaded @ the same time so when the getParameter gets executed the parameters are null and this is the probable cause of your error. Another problem is the action in form will cause the bottom to go into tops frame and not have anything to do with the other frame. If you want data to go from one frame to another while the user still sees them look @ DHTML, JavaScript and IFrames.
    HTH,
    J.Clancey

  • Form With Report om the same page

    Currently i usr a form to insert e a report to disply the results.
    However i'like tom link ther row of the report to fil the form with that data!
    I post a image to maque a picture
    http://diolicopia.pt/screenshot.jpg
    what i want to do it's whena click de report column... it fill the form with the records on the tablhe.
    thanks

    Hi
    You can use column link functionality to link a report table.column to corresponding form item. Best is to link through Primary Key column. Say the report has column Titulo so go to Edit Page>Report Attributes> clik on edit link against the Alias Titulo>Column Attributes>scrol down to section Column Link>
    1. enter some link text (choose one image)
    2. target=page in this application; page=enter page number on which you have form
    3. in the Name Value pair region in Item 1 row, under Name search for item name for Titulo e.g. P1_TITULO, under Value search for the column name value for Titulo e.g. #TITULO#.
    4. Click apply changes
    Now if you click on some value in the column Titulo in report the edit form will display data populated with records corresponding to that.
    Thanks,

  • Filtering a Report on the active record of another Report on the same page

    Hello,
    I have a Form and Report on the same page in an APEX app. The interactive report is used for sorting/filtering etc. and the Form is used to present the data for one record at a time, as well as allow updates in selected fields. This was done using the wizards, the little 'edit' button is clicked to change the form to the selected record.
    I also have (or want to have) a second non-interactive report on the page, which displays some records based on the record of the main report that is currently selected and appearing in the form.
    I tried doing a simple 'SELECT fields WHERE link field is equal to main report', but it always says no data found.
    Basically, I need to be able to have a query for the second report that says 'SELECT these fields WHERE the site is equal to the site currently being displayed in the form'.
    When the little pencil/paper 'edit' button is clicked on a report, does this set some ActiveRow or something like this that I can use to filter the second report?
    As you can tell from this post, I am in my database skill infancy, and any literature/pointers on how to achieve this (outside of MS ACCESS...) would be appreciated.

    Okay, I have somewhat got my head around Column Links, and have put the key link field into the URL:
    The value is P4_MDF, and in this URL example it has taken the value of 'WLAH01'
    f?p=880:4:3924084145794812::NO::P4_MDF,P4_ESA_CODE,P4_SITE_NAME:WLAH01%2CWLAH%2CWYRALLAH
    Now I just need to work out how to use this value in the URL to filter the classic report.
    I have used this query:
    SELECT *
    FROM
    "MACHINE_INFO"
    WHERE CCP = :P4_MDF
    As CCP in the report im trying to filter is the same as MDF in the IR that I am clicking the Column Link
    This is the Debug for the 2nd 'filtered' report (which filters everything)
    0.09: show report
    0.09: determine column headings
    0.09: parse query as: EXPAT
    0.09: binding: ":P4_MDF"="P4_MDF" value="WLAH01"
    0.09: print column headings
    0.09: rows loop: 15 row(s)
    I'm slowly getting the hang of this, any assistance would be great!

  • Reports on the same page as FORM

    Hi,
    We have a SEARCH Form and when user inputs search criteria, then we want to call a report on the same page, just below the search button. We tried many things but the report does not show up on the same page, it navigates to next page.
    Please help..
    Thanks
    Kumar.
    null

    Right now passing parameters between portlets is not supported. It will be done in a future release.
    Regards,
    Sunil.
    null

  • How to get a form to appear on the same page when a button is clicked?

    Hi,
    I have a report on a page with a create button. When a user clicks the create button, a form should appear on another region in the same page....how do i go about doing this?
    I know how to do this if the form is on a different page, but i'd like the form to appear on the same page as the report and only when the button is clicked.
    Thanks.

    Hi,
    I did the following, but it didnt work....
    1) Created a hidden item on the page, and in the Default Value field, I set the value to N.
    2) Created a button in the report with the following values under "Optional URL Redirect":
    Target is a: Page in this application
    Page: 4
    Set these items: P1_SHOW_FORM
    With these values: Y
    3) Created a form of HTML text type with the following values under "Conditional Display":
    Condition Type: Request=Expression 1
    Expression 1: P1_SHOW_FORM='Y'
    What have I done wrong or have i missed something?
    Thanks.

  • SpryValidation and DependentDropdown in the same page

    hi,
    With "SpryValidation" and "DependentDropdown" in the same page
    SpryValidation, on "Submit" event, doesn't work
    Any solution??
    Thanks
    Gabriele

    Hi Gabriele,
    when checking some code located in some file in the "includes" folder, it seems that the onsubmit event is already "captured" by ADDT´s own clientside form validation routines.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Duplicate column ids in reports on the same page, how can I reference them?

    I have 4 reports on the same page.
    I have added a checkbox column to each one.
    On clicking I want to populate a collection with the value of the id of the corresponding row and then have a button acting on the whole list.
    My code to get the id of the item that contains the value I want is this
    id = 'f02_' + $(this.triggeringElement ).attr('id').substr(4,4);
    But there is an f02_0001 for each report, and the code just finds the first one, rather than the one in the context of the report being clicked.
    <input name="f02" id="f02_0001" type="hidden" value="2072"/>
    <input name="f02" id="f02_0001" type="hidden" value="2052"/>
    etc etc.
    All that is ever picked up is 2072
    They have different table ids but I don't know how to reference the correct ones in my code
    I'm sure it must be something simple, can anyone help
    Cheers
    Mark

    It looks like this:
    I want to click on the check box and get the corresponding value for f02_000X (or could I refer to the class name if I gave it a class)
    There are several tables with the same format as below so it needs to work out the table id in the reference.
    <table id="report_R1641794306363434600" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th id="BOX"></th>
    <th id="Name"> </th>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    <tbody>
    <tr>
    <td valign="top" nowrap="nowrap" style="padding:1px;"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <label class="hideMeButHearMe" for="f01_0001"> </label>
    <input id="f01_0001_01" class="boxhop" type="checkbox" onclick="if (this.checked) {apex.jQuery('#f01_0001').val('Y');} else {apex.jQuery('#f01_0001').val('');}" value="Y" name="f01_NOSUBMIT">
    <input id="f01_0001" class="boxhop" type="hidden" value="" name="f01">
    </td>
    <td headers="Name">
    Administrator
    <input id="f02_0001" type="hidden" value="2072" name="f02">
    </td>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <td headers="Name">
    Angela Murray
    <input id="f02_0002" type="hidden" value="2082" name="f02">
    </td>
    </tr>
    <tr>
    </tbody>
    </table>

  • How do I type Hebrew and English on the same page

    How do I type Hebrew and English on the same page in Indesign?

    What version of InDesign are you using? And on what operating system? Switching keyboard ("input methods") is in your OS, not in InDesign. InDesign has had the capability to display right-to-left languages since CS4, but only the Middle East edition has the abilities to actually manipulate Hebrew text. If you're trying to do a bilingual, bidirectional document, you'll need the ME edition. If you are a CC subscriber, it comes with your subscription; if you are not, you'll need to buy another version of ID, or a plugin that will allow you to access those RTL features.

  • How do I combine text and photos on the same page in iPhoto using photobook

    How do I combine text and photos on the same page in iPhoto using photobook?

    You mean while creating a book in iPhoto?  Click on the layout button while viewing a page and select the layout that includes both text and photos.  Most themes will have those options.
    OT

Maybe you are looking for

  • How do I use my time capsule as a wifi extender and still use as a backup in Time Machine

    I purchased a new airport extreme and want to use my existing time capsule as a wifi extender in another part of the house.  How do I set this up so that I can still use the time capsule as my backup (time machine) hard drive?

  • Need to try this

    I found this on a bulletin board and decided to try it. A little while back, It was an article similar to this that said you could make thousands of dollars within weeks with only an initial investment of $6.00! So I thought, "Yeah right, this must b

  • Multi-Mapping with BPM?

    Hi Experts,                 Can anyone send me a scenario which contains multi-mapping using BPM (collect pattern)........I searched on SDN but cudn't find any scenario which contains Multi-Mapping BPM scenarios. All the scenarios which r available b

  • Is NMR request deligation

    Hi, Suppose I wanted to call external services.Scenario is, client send SOAP the request to HTTP Bc, HTTP B to NMR . Now is NMR directly connects to the external service Or NMR sends the request back to HTTP Bc and HTTP Bc connects to the external se

  • Color Correction specs

    Is there a way to find out what color correction specs were applied to a clip if the render files have been trashed? (The effects still seem to be there, the color is different than the original color) where do you check the settings?