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

Similar Messages

  • How Can I open Report within the same window instead of separate Window

    Hi All,
    I want to open report in my MDI form instead of opening it into a separate Oracle Report Navigator(i.e. Window which shows the report). How to do that? When I click the Report from Menu it should open it within the MDI Form. Any suggestion or reply would be greatly appreciated.
    One more question is how can i open report with in a maximized state. Actaully, the report will be opened in the normal state. How to open in maximized state instead of normal state. Is there any property in reports to acheive this?
    Thanks in Advance.
    Regards
    Gopinath Kona

    hello,
    reports is a separate application that is called from forms and therefore is running outside the context of the forms MDI window.
    you can use the commandline parameter MAXIMIZE=YES to start the runtime in full-screen-mode.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I keep all of my students on the same page in an iBook?

    My school is in the process of giving each student an iPad Mini, one grade at a time. As a ninth grade teacher, all of my students have one, but we are having some trouble staying on the same page  when we are reading a novel ( no pun intended ). What I mean is that what appears on page fifty for me will appear on page forty for one student and on page sixty for another. I tried to fix this by having all of my students keeping their iPads in landscape orientation, but that did not solve the issue. I then tried to have students adjust the size the font on their books so we would have a uniform text, but the tool for adjusting the size images this tricky as well.
    I am considering having all of my students make their font size as small as possible and then giving them a specific number of times to tap on the font increase, but I am hoping to find a simpler method. Am I overlooking something?
    I would appreciate any tips that you might have.

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • My husband has a iphone, now i have one to. We want to work with the same calendar, but i want to play in the game center with my own name... how can i do that? and still use the same calendar

    My husband has a iphone 4 8Gb, now i have one to. We want to manage our calendar with icloud. We use the apple id that my husband made, but i want to play in the game center with my one name and games. How can i do that?

    Sounds like you encrypted your iPhone backup, & if so it's asking for the encrypted backup password. Do you have a company Exchange account on your phone?

  • How can I use both Lion and Leopard on the same computer?

    I have installed Lion and can't recover documents created by Canvas 9, a  PPC app.  Can I create a partition to run Leopard, so that I can use PPC apps?

    My mid-2010 iMac 27" i3 came with Snow Leopard. My internal hard drive is partitoned into 3 parts - one boot volume for Snow Leopard (10.6.7); one boot volume for Lion; another boot volume for Lion. The two Lion partitions were added to the internal drive without erasing the initial install of Snow Leopard.
    I also have an external firewire drive which is partitioned into three volumes: one with a clone of the primary's Snow Leopard 10.6.7; one with Snow Leopard 10.6.8 (built on another clone of the primary); and one used for GP file storage.
    That gives me three bootable volumes for Snow Leopard (two of 10.6.7, and one of 10.6.8) and two bootable volumes for Lion. All of those are, in fact bootable - they have all been tested for that by booting to them.
    Booting to a different valid OS on a different volume is as easy as going to System Preferences > Startup Disk and then selecting the OS/volume one would like to use on the next restart. Then just restart.
    The choice can also be made at booting - as soon as the startup chimes sound, hold down the Option key to bring up Startup Manager. In that screen select the boot volume of choice.

  • How can i run Lion, SL and Bootcamp on the same disk?

    Hi everyone,
    I have an i7 Imac with Lion preinstalled so first of all i installed windows with bootcamp
    and then for many reason i had to make a new partition with Snow Leopard using target disk mode from a mbp.
    Now the problem is that i can't see anymore my bootcamp partition at the startup disk (when i press alt after the bong).
    Even if i try to change startup disk from system preferences it says that the disk is not bootable.
    I tryed to make the bootcamp partition active using rdisk fromt he terminal with no succes :/
    I hope you guys can help me
    Thank you

    if you have two hard drives the easiest might be to install panther on the second hard drive. this way you don't have top partition anything. make sure the drive is properly formatted it should be formatted mac os extended journaled with APM partition scheme. then just boot from the Panther install disk and install panther on the second drive. note that this will only work if your mac originally came with panther. did it?
    to switch between installs you can change the startup disk in system preferences->startup disk. then reboot. alternatively, reboot normally and hold option at the chime. this will boot you into startup disk manager where you can choose which drive to boot from.

  • How can I share my screen and video at the same ti...

    As the title says, I want to share my Mac screen and my face cam (video) at the same time. I looked this up before and I found out that you need a premium account in order to do this...but then I found out that the premium account is no longer available. So, is it still possible?

    bump again...please respond! thank you

  • How can I print duplicates of a photo on the same page?

    I'm using iPhoto. I have two photos I want to print. I want to print two copies of these photos on one sheet.
    When I try to print, at the second window in the process, I get a large white bar across most of the page and the computer locks up.
    I did print one of the photos without a problem. The other photo will not print, giving me the same white bar with lockup. The photos don't seem to be different in any material way.
    Help!

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • How can I put a footer that links to the first page of a pdf from the other pages?

    I am trying to create a pdf that has the option "Return to Table of Contents" at the bottom of each page from 2 to 23.  I know how to add a footer, and I know how to add a link, but is there a way to put a link as a footer?  I don't want to have to go in and create 22 links for each file. 

    Then duplicate that button to pages 3-23.
    To do that effectively go to Form Edit mode, right-click the button and select Duplicate Across Pages.

  • How can I run both Leopard and Panther on the same machine?

    Hi,
    I currently have a Powermac G5 with Leopard running nicely on it. I have 2 hard disks.
    What I would like to do is install OS X 10.3 on the machine so that I can switch between the environments - please can someone explain how to do this?
    I'm assuming I need to partition one of the hard drives and have done with the second hard disk (not the startup disk), but I'm nervous about what to do from there and really don't want to mess up what I've already got - please help!!
    Many thanks.

    if you have two hard drives the easiest might be to install panther on the second hard drive. this way you don't have top partition anything. make sure the drive is properly formatted it should be formatted mac os extended journaled with APM partition scheme. then just boot from the Panther install disk and install panther on the second drive. note that this will only work if your mac originally came with panther. did it?
    to switch between installs you can change the startup disk in system preferences->startup disk. then reboot. alternatively, reboot normally and hold option at the chime. this will boot you into startup disk manager where you can choose which drive to boot from.

  • How can I use both endnotes and footnotes in the same document?

    My project requires that the document have both kinds of notes. Thanks.

    You may have to split the document into 2, one for each as they seem to be an either or option.
    Peter

  • 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 &amp; 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.

  • 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

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

  • HT1386 I do not have internet on my home computer, how can I put my pics and music into iTunes so I don't lose them all.

    How can I put my photos and music in iTunes so I don't lose them if something happens to my phone

    You don't need an internet connection to sync the phone with iTunes- cable or WiFi

  • HT4484 I dont use the credit card i have in my account any more and I dont want to put in a new one, how can i delete that information and just download the free apps?

    I dont use the credit card i have in my account any more and I dont want to put in a new one, how can i delete that information and just download the free apps?

    Changing Account Information
    http://support.apple.com/kb/HT1918

Maybe you are looking for