Hiding Report Region on button pressed

hi , i have report region , and i want when i click on show button its show the report region and the button then convert to hide and then when i click on hide it hide the report region and button convert to show , can any body help me for this

Hi,
Change your current report region tempalte with 'hide and show region template'.
In apex inbuild template for implementing show and hide region type of report.
Go to the edit page option and in user interface chage your current report region tempalte with the 'hide and show region template'.
Thanks,
Rajendra
Edited by: rajendra on Feb 26, 2012 4:36 AM

Similar Messages

  • Stop region (report) refreshing when button pressed

    Hi
    I have created a report region, using the following select:
    select * from TABLE(CAST(JCMS_MERGE_BATCHES_PKG.show_merged_batches_fn('M29||0') AS jcms_rep_batch_type))Is there a way to stop this report from submitting when a button on my page is pressed?
    The reason for this requirement, is that my report contains checkboxes for each row returned. The default for the checkbox is CHECKED when the report is refreshed. However, I want users to uncheck certain rows in the report, click a button and then have some processing performed on ONLY those checked rows. My page is almost working, but because the report is refreshing, after I have performed my processing, the report is coming back with all rows selected again.
    Many thanks,
    Paul

    I think your requirement is similar to this one:
    http://htmldb.oracle.com/pls/otn/f?p=31517:219
    However, that is not trivial.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Show report only after button pressed

    I do have a page with a report in a region , a button and some item's witch are needed for the query of the report. (-> parameters)
    The problem is that the report should only be calculated after pressing the button "Go"
    But the report is calculated instantly when the page is invoked which took very long because when no parameter is selected the result is very large.
    I tried to use the condition in the report but had no success.
    thanks in advance
    Odeedo

    Report condition: request=GO (or the one that you set with the botton)
    Add a BRANCH to page (after processing) to the page itself, and that set the request to GO (or what have you choose ...)
    It should works
    Thanks
    Stefano Corradi
    (be carefully to avoid a redirect in the botton without submit, because in this case you item has not submitted)

  • How is when a button pressed a report will come to the same page !!!

    Hi all,
    I wonder that is it possible to bring a report to the page as a region but only when a button pressed in apex .When ı clicked the go button for example ı want to list a report in the same page.
    but I dont know how .If is this possible can you explain me please.I need help!
    Thanks!

    Create your report in a region as normal.
    Create a second region and in this region create an item eg p171_item.
    In the same region create 2 buttons
    Get Report and Reset (branching back to same page).
    Create 2 page processes (PLSQL) on submit after computations
    1. GET REPORT
    DECLARE
    v_item number;
    Begin
    select 1 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    2.RESET
    DECLARE
    v_item number;
    Begin
    select 2 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    Tie the processes to the buttons.
    On your report region put a condition
    PL_SQL RETURNING BOOLEAN
    IF :P171_ITEM = 1 THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    Now by pressing the buttons the report region is opened and closed.
    Now hide P171_ITEM.
    Gus

  • Report-start only by pressing on go button, not by entering page

    I got a page where a long-running report is located. Normally, you would limit the report. But when I click now on the tab unlimited report starts immediately.
    How can I change this behaviour, that the report only starts by pressing a specific go-button on the page ?

    Hi,
    Unless I'm misunderstanding you want to hide the report until a go button is pressed. There are number of different ways to achieve this, below is one that would work.
    To do this you could create a button in a separate region on the page, then add a branch based on the button and set a request value of GO.
    Then in the report itself under conditions choose REQUEST = EXPRESSION 1 and in the expression 1 field add GO and this should achieve what your trying to do.
    Thanks
    Paul

  • Calling a report from forms - FRM-40735 when-button-pressed raised unhandle

    Hi,
    I created a form to generate a pdf report.
    its not going too well, so i need some help.
    my form only has one button , when pressed I want it to generate a report in pdf format.
    i created a when-button-pressed trigger and the following code is below:
    I also create a web service proxy jar file,
    the jar file is in the FORMS_BUILDER_CLASSPATH, and the jar file is imported from forms builder without any issues.
    As of now I am hard coding everything in the code below to see if it works.
    The error I am getting  FRM-40735 when-button-pressed raised unhandled exception ORA-105100 i dont know why ?
    This error is occurring at this line of code, please help, this is my first time doing something like this.
    obj := publicreportserviceclient.new(); DECLARE
    param_name varchar2(200);
    un varchar2(200);
    pw varchar2(200);
    out_file varchar2(200);
    obj ORA_JAVA.JOBJECT;
    BEGIN
    obj := publicreportserviceclient.new();
    param_name := 'EMP';
    un := 'Administrator';
    pw := 'Oracle123';
    out_file := 'D:\DevSuiteHome_1\j2ee\home\default-web-app'||'output';
    publicreportserviceclient.callRunReport(obj,'/~administrator/Learn/Test1/Test1.xdo','EMP','141414',un,
    pw,'pdf','New_Template',out_file);
    web.show_document('http://jmenge-de.de.oracle.com:8889/j2ee/' || 'output');
    exception
      --check for ORA-105101
      when ORA_JAVA.EXCEPTION_THROWN then
         message('Java Exception : '
          || Exception_.toString(ORA_JAVA.LAST_EXCEPTION));
          ORA_JAVA.CLEAR_EXCEPTION;
          return;
      --check for ORA-105100
      when ORA_JAVA.JAVA_ERROR then
                   message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
              return;
    END;This is my java function
        public void callRunReport (String reportPath, String paramName, String  paramValue, String
        username, String password, String format, String template, String outFile) {
        try {
                bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient();
                // Calling runReport
                ReportRequest repRequest = new ReportRequest();
                repRequest.setReportAbsolutePath(reportPath);
                repRequest.setAttributeTemplate(template);
                repRequest.setAttributeFormat(format);
                repRequest.setAttributeLocale("en-US");
                repRequest.setSizeOfDataChunkDownload(-1);
               ParamNameValue[] paramNameValue = new ParamNameValue[1];
                paramNameValue[0] = new ParamNameValue();
                paramNameValue[0].setName(paramName);
                String[] values = new String[1];
                values[0] = paramValue;
                paramNameValue[0].setValues(values);
                repRequest.setParameterNameValues(paramNameValue);
                ReportResponse repResponse = new ReportResponse();
                repResponse = myPort.runReport(repRequest,username,password);
                byte[] baReport = repResponse.getReportBytes();
                FileOutputStream fio = new FileOutputStream(outFile);
                fio.write(baReport);
                fio.close();
            } catch (Exception ex) {
                        ex.printStackTrace();
        }Thanks - please help

    If there is a way to make it work with Bi publisher, Please let me know.
    I need to something to make it work with BI publisher.
    thanks,
    Edited by: Rooney on May 27, 2010 1:27 PM

  • Delete buttons in report region & javascript

    I managed to add a delete button on each line of my report region using 'Column link' with
    text <img src="#IMAGE_PREFIX#delete.gif" border="0" alt="Verwijderen Icon">
    url f?p=&APP_ID.:504:#APP_SESSION#:TEST:::P504_DELETE_ID_LCNT:#ID#
    and some extra coding.
    problem is : i'd like to add a javascript:confirmDelete function
    In a 'Normal' button you can add it via URL Target.
    Can anyone help me ?

    This seems to be the way to add javascript to the url-code
    f?p=&APP_ID.:504:#APP_SESSION#:TEST:::P504_DELETE_ID_LCNT:#ID#" onClick="javascript:confirmDelete('Are you sure....')
    The only problem now is to add some kind of code to javascript to cancel further processing??????
    return true or false has no effect.
    I tried to set the REQUEST-value but i can't find the solution.
    Please help.

  • Enhancement request: Buttons in report regions

    Buttons in Report regions (usually) operate upon the data shown in the report using form input elements like checkboxes, radiobuttons, etc.
    When the report returns no rows, the buttons look silly in an empty report region. Clicking them might also do some harm depending on what the after-submit processes do.
    IMHO it seems like a worthwhile enhancement for Apex to automatically suppress the rendering of the buttons if the report returns no data (it could piggyback upon the 'No Data Found' message under Report Attributes).
    Thanks

    Or maybe conditionally? I can think of a case where I get no data back and I want to do something with those buttons, such as "create a new record". I often use form input elements there as filters, so it's possible for our users to come up with a combination of filters that comes back with "no data found" and they need a way (mmmmmm, buttons) to reset the filters and get back to something meaningful.
    But the ability to condition the buttons (and other stuff) based on whether or not the report returns data? That could be useful, especially for the situation you describe where clicking them might do harm. The ability to disable the buttons on "no data found" (while still displaying them) could also be nice. That way I could display the buttons and keep the same layout, but they wouldn't be clickable.

  • Problems arranging button vertically under a report region

    Hi All
    I am currently developing an Oracle APEX UI but I’m having difficulty with the arrangement of buttons in the UI.
    What I want to achieve is, to arrange 3 buttons vertically, below an Interactive Report Region which is displayed the page,. I want to arrange these buttons on the right hand side below the report region so the right hand edge of the buttons are aligned with the right hand edge of the report region.
    Many Thanks in Advance,
    Austin

    Hello Austin
    Regarding the right alignment you could try putting
    <p align="right">In your region header.
    As for the vertical order of the buttons, create them as "Buttons displayed amongst the regions items", then set them to "Begin on new line"
    Good stuff.
    Simon
    Edited by: Simon Gadd on Mar 23, 2009 10:32 AM

  • Center the buttons in the reports region

    I have 2 buttons with Button Position as "Top and Bottom of Region".
    Button Alignment is "Right"
    How do I position the Button Alignment to be "Center" ??
    Thank you, Bill

    Hi,
    I created a copy of "Reports Region" template and adjusted buttons:
    Moved CREATE and CREATE2 tags to extra rows in the BODY table.
    Worked great!
    [td class="t2ButtonHolder" valign="bottom" >#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##EXPAND##COPY##HELP#[/td>
    [/tr>
    [tr>[td align="left" valign="bottom">#CREATE#[/td>[td align="left" valign="bottom">#CREATE2#[/td>
    [/tr>
    [tr>
    [td align="center" class="t2RegionBody" valign="top" colspan="2">#BODY#[/td>
    [/tr>
    [tr>[td align="left" valign="bottom">#CREATE#[/td>[td align="left" valign="bottom">#CREATE2#[/td>
    [/tr>
    [tr>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can we have one submit button for mutliple report regions querying same tbl

    Hello,
    I have a normal multiple report regions in a page with some editable in those regions, these report regions are querying the same table. Now, Is it possible to have one submit button for all the report regions to update the underlying table data?
    Can anyone please help me out with this one.
    thanks,
    Orton

    First you'll almost certainly need to roll your own - the built-in stuff is fairly basic and more than likely won't help.
    It sounds like your process flow should be something like:
    1) Person clicks button.
    2) You do a select for update in the process to get the loan id and put it in the person's queue. At this point you may want to flag that column as having been assigned so it can't be assigned again.
    3) You then forward them to the form to enter data. Personally I would create my own items and processses and forgo the built-in form stuff but you may be able to use the Automated Row Fetch. If you do your own, you just reference the objects like:
    insert into table
    values(:P1_1, :P1_2, :P1_3)Edit - Another way would be to use a regular form and insert Stop/Start Tables - so it can look like a different section, but it really is just a label. Thats another option.

  • Button on report region

    Hi..
    i want to add button on report region Named ad "Send E-mail"
    that should be on each row
    so how can i do??
    Please Suggest Me
    Thanks in advance

    969091 wrote:
    yes bt
    m not gettingLet's say I have a sample classic report on the EMP table as:
    select
    empno,
    ename,
    sal,
    hiredate
    from emp
    order by 1Now, I want to add a column "Send Email" to the report that will carry a link icon for every row. I modify the query as:
    select empno,
    ename,
    sal,
    hiredate,
    '' as send_email
    from emp
    order by 1Now, I can right-click the "send_email" column and select edit. In the "Column Link" region, I choose a link icon for the column and define target page/URL.
    For interactive reports, you can right-click the report, select "Edit Report Attributes" and use the "Link Column" option also.

  • Show a report region only when link in other report is clicked

    Hi Friends,
    I am having 2 report regions.In my first report region i am having a column as a link. I want to show the 2nd report
    region only when the link in the 1st report region is clicked. There is a button in the 2nd report region i want to show
    that button only when the link in the first report is clicked.
    The code for my first report is
    select * from tasks;i have a link column task_id as
    f?p=&APP_ID.:10:&SESSION.::&DEBUG.::P10_TASK_ID:#TASK_ID#My 2nd report code is
    select * from task_details where task_id=:P10_TASK_ID;Plz help,
    Thanks,
    TJ

    Hi Andy,
    I tried this but having one problem. When i press a link the vaule of P10_TASK_ID is set and the 2nd report is shown.
    When i go to other page and come back to this page the 2nd report is showing even with out pressing the link this is
    because the value set for :P10_TASK_ID is still there. Where can i put the value back to null so that the 2nd report is
    not shown with our pressing the link in the 1st one.
    Thanks
    TJ

  • Unable to delete a row using checkbox on report region

    hmm..this used to work, and unfortunatly this is code unfamiliar to me. We have a report region containing a list of records. The last column is a row selector, and is a check box. Several rows may be checked and then a delete button pressed.
    we receive the following error: ORA-20001: Error in multi row delete operation: row= 394878, ORA-01403: no data found,
    multi row operation failed
    however, the key that it references 394878 is not that of the record I had checked, rather it is the first record in the report.
    so...not able to delete, and it is trying to delete the wrong record. Any ideas. thanks

    Check the table name in your MRD process and make sure it's the right one. Also ensure the "checked" value of the checkbox is correct (i.e.: is the checkbox based on the correct key column from the report?).

  • Pls Help me to Create an Updatable report region

    hi,
    can u pls help in creating an updatable report region. as of now i have 2 regions in a page. 1st region is HTML type where we can select Year,Month&Account parameters and do submit.
    2nd region an updatable report region where the report generates according to the SQL query which includes conditions selected as parameters in where clause. even i have the processes to update the data in this report.
    now the problem is i am able to put only one submit button which is functioning for both parameter selection and as well as updating the data in report fields. so the functionality of the report became a bit tricky which is not user friendly to the client.
    whats happening is: after logging in&select the parameters month=Jan,year=2007,account=ALL
    -> If you would like to update the data for Jan’07, you can enter the value in the field and click on ‘Update’ button
    -> After that, if you would like to see the data for Feb’07, as of now you are not able to select the month from drop down list directly from this page and say ‘Update’. You need to log-out and log-in again and select ‘Feb’ for seeing Feb’07 data.
    -> Rather if you directly select the ‘Feb’ month and say ‘Update’ in the same page, it is updating by the New value you entered for ‘Jan’ ( the same thing happens for all the months what ever you select and click on ‘Update’ in the same page without log-out and log-in)
    -> So, the basic thing you have to do while you update the data is, you need to log-out & log-in for seeing or updating different month’s data after making changes to the present month and click on ‘Update’. You can not see correct data if you select the month directly after making changes to the present month’s data. This will cause automatic updating in the selected month.
    sorry for the long description of my problem, but your help in this regard will be appreciated. thanks in advance.
    Best Regards,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi andy,
    thanks very much for ur reply mite..
    actually i have 2 page processes.
    1 is On Submit-Before Computations and Validations;is to populate
    2 is On Submit-After Computations and Validations;is to update
    both r PL/SQL anonymous blocks.the problem is i couldn't find any triggers like things in process point drop down list.for eg;'when button pressed' or 'when LOV changed' or 'when list changed'(like in forms developer)
    and also i couldn't allocate any processes or functions to button properties in APEX.
    can u pls help in this regard.
    Cheers,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • "Wipe clean" hard drive

    I was about to "wipe clean" my G5 iMac for resale or give away with Installer Disc.  However, the only disc I can find reads, "iMac G5 Additional Software & Apple Hardware Test" .  Can I erase the drive with this disc?  If not, how?  HELP! ~Neophyte

  • NFS exports from Mac

    Hello, I have a little home network with a Mac and an NSLU2. The NSLU2 exports some directories (or folders) via NFS to the Mac. Additionally it makes backups from the files its exporting. Now I wanted to do the other way round: export from the Mac t

  • Key will not save

    I have installed 7.1.3 and upgraded to the pro version but the key will not save. After entering the key the "buy quick time" button is replaced with "quicktime pro 7" as described in the install instructions. The key will not save and the Pro featur

  • Embedding a displayable form in enums?

    Hi, Java coding best practices suggest that enum values are spcified in upper case. Something like: public enum WeekDay { SUN, MON, TUE, WED, THU, FRI, SAT; };However, when displaying a single value you would normally want to display in a prettier wa

  • To know the Service Pack???

    Hi Experts, How do we know that on which service pack the portal server is running? I mean to say, i would like to know my portal server is running on which service pack whether it is SP 10 or SP 12? Thanks, Satya