Interactive Report Pagination and count

Hello,
I have two situations I am hoping someone could help me with.
Problem 1
I am using interactive reports in APEX 3.2.1 and I have reports with rows >= 6000. currently pagination on reports is set to:
X to Y of Z
such that when the report is rendered it looks something like 1 - 15 of 6203 >.
Is it possible to add 'objects' or 'buttons' that allow me to navigate directly to the last row or/first row e.g
|<< < 1 - 15 of 6203 > >>|
such that |<< or >>| navigates to the very end row while < or > navigates to the next set or rows? would this be javascript? if so, does anyone have code for it? unfortunately not only am I new to APEX, I am a novice at javascript as well.
Problem 2
Is it possible to have APEX interactive reports return a distinct count on fields that are not unique? All counts are equating to the count of the unique ID and has had me pulling my hair
Any help is most welcome,
Mufudzi

Hi Mike,
I have not managed to get 'Distinct count' to work. Unfortunately, the project I am working on for this neither has the time or budget to investigate further but hopefully I will be able to get a solution from someone as a "nice-to-know".
Regarding the first problem I posted on, managed to come up with a solution using some html. Basically I created two html scripts (one above the report and the other below the pagination buttons at the bottom of the report)
- for the top of report html I used the following code:
+<td nowrap class="t13RegionBody"><>a href="#endofpage"<>End of Page</a></td>+
+<td bgcolor="#EEEEEE" nowrap><a name="topofpage"><font color="#EEEEEE">Top of Page</font></a></td>+
and called the script topofpage
- for the bottom of report html script I called it endofpage and used the following code:
+<td nowrap class="t13RegionBody"><>a href="#topofpage"<>Top of Page</a></td>+
+<td nowrap bgcolor="#EEEEEE"><A NAME="endofpage"><font color="#EEEEEE">End of Page</font></A></td>+
What the script does is when the "End of Page" hyperlink is clicked, it takes the user to the bottom of the screen/page and vice versa for the "Top of Page" hyperlink situated at the bottom of the page. Users will be educated on how to use the ROWS utility on the interactive report menu bar so that they can display all available rows on one page and use the links to navigate from top to bottom of page.
Mufudzi
Edited by: Mufudzi on Oct 2, 2009 12:20 PM

Similar Messages

  • Interactive report unique row count

    Hi,
    I just want to know if there is a way to do a row count with a unique on an interactive report column.
    What I mean is that I have a report that looks like that
    Project Project type Hours
    Project 1 Project type 1 1
    Project 2 Project type 2 1
    Project 1 Project type 1 1
    Project 3 Project type 3 1
    Project 2 Project type 2 1
    I would like to do a unique on the project name. So, at the end, I would like to have a count that says that I have 3 different projects.
    Is there anyway to do that ?
    Thanks,
    Chantale

    Hi Chantale - did you manage to solve this one?
    Example here (http://apex.oracle.com/pls/otn/f?p=11189:1) showing 14 rows, but only 7 distinct rows. These duplicates are valid, and the SQL cannot be changed. Is there a way through the IR to show a count of 7 (the distinct rows)?
    Thanks,
    Mike
    Edited by: Mike, UK on Oct 2, 2009 12:04 PM

  • Interactive report pagination.

    Hi Folks,
               I have a interactive report page with 15 rows per page pagination.I browse to the 4 th segment of the report (i.e 46-60 rows) and moved out of the page through menu link. When I open that  IR page again it still in the  4 segment rather than first (i,e 1-15 rows). Is there any way change the pagination via page header to reset whenever I open the page.I tried all the option in the report pagination nothing works for me. Looking for guidance from you
    Thanks
    Karthik

    Hi Karthik,
    fac586 is correct.
    APEX URL Syntax: f?p=App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly
    I hope you are passing a URL link from java script in page1 and page2. You can pass RP in ClearCache section in that URL.
    for example, f?p=&APP_ID.:3:&APP_SESSION.:::RP:::
    If your IR is not based on any item values then you can create a Reset Pagination process. Refer the link 8.5 Understanding Page Processes.
    If possible share your java script where you are calling the IR page.
    Thanks
    Lakshmi

  • Interactive Report Download and Session State Protection

    I have created an Interactive Report in an APEX application that I have enabled
    session state protection for. The issue I am having is with the "Download"
    functionality of the interactive report to a .csv file.
    The URL created by selecting Download from the drop down (javascript:gReport.controls.download();)
    is built or constructed without a checksum thus causing the error below.
    Error
    No checksum was provided to show processing for a page that
    requires a checksum when one or more request, clear cache, or argument
    values are passed as parameters.
    The anchor tag containing the URL (/f?p=app_id:page:session_id:CSV:) is contained within
    &lt;div id="apexir_CONTROL_PANEL_DROP" class="drop_panel
    clearfix" style=""&gt;
    Running the following: Application Express 3.1.0.00.32 on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Is there a way to add a checksum to this? OR does anyone have any ideas on how to work around this?
    Edited by: Bryce Tuohy on Feb 26, 2009 10:08 AM

    WORKAROUND:
    1.) Create hidden ITEM on page (I named it P23_PREPARED_CSV_DOWNLOAD_URL).
    Enter the following for the ITEM
    as the SOURCE_TYPE : PL/SQL Function Body
    as the SOURCE: return apex_util.prepare_url('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:CSV:')
    2.) Create BUTTON that executes javascript to open POPUP window with this url.
    a.) Create Button and enter
    &lt;a href="javascript:popupURL('&P23_PREPARED_CSV_DOWNLOAD_URL.')"&gt;Download and Save to CSV file&lt;/a&gt;as the "Text Label/Alt"
    Originally had custom code for javascript POPUP and this is not needed .... just use the APEX javascript function.
    Edited by: Bryce Tuohy on Mar 5, 2009 10:47 AM

  • Interactive Report Refresh and JQuery Plugin Issue

    Hi,
    I have Interactive report in my page. I am using jQuery context menu plugin , so when user right click on a column he get an option to add , delete , update and other option.
    javascript pseude code for context menu
    $(function(){
         context_menu();
    function context_menu(){
      $('.Col1').contextMenu();
    }Suppose User Selects Delete option. In this case jQuery popup appears and users enter the data which is saved to table using on demand process. After that using gReport.search('SEARCH') , I am refreshing the page...
    Now the issue arises ------ Now when i right click the column my jQuery context menu is not working ...
    Workaround used ----- I added onmouseover=context_menu() function to the column link... and it working fine..
    Now my question is ... each time the user moves the mouse over column it will run context_menu() function ..... Will there be any adverse issue .. or memory leakage issue...
    Please advice..
    Thanks,
    shijesh

    Hi,
    I think there should not be any issues to do that way. You need of course test it carefully.
    You can run stuff after IR refresh also on Apex 3.2.
    See e.g. this post
    Apex 3.2 hook javascripts to IR and execute those when report is refreshed
    I have included that to my jQuery "plugin" for Apex 3.2
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:127800346959520
    Regards,
    Jari

  • CRM Interactive Reports - CRM and BI Reporting client same

    Hello all,
    I am setting up CRM Interactive reports in CRM 7.0 wherein the CRM client and the BI Reporting client are both the same. I know it is not recommended by SAP, but our requirement is very less.
    I am following the steps as mentioned in the Best Practices C41. But, when I am trying to set up a source SAP system in RSA1(Section 4.14 of C41), i get an error saying that 'Source system XXXCLNTYYY already exists'. This is the same system which has already come under the BI node in RSA1.
    Since we are using the same client for both the systems, how do I rectify this error?
    Please help!
    Regards
    Debolina

    Dear Srinivas,
    One of the purposes of CRM Interactive reporting is quick-enablement of frequently used reports. Ofcourse these differ in all aspects with BI reports. These are faster and accurate when the data population is small.
    It is not suggested to use dedicated BI server for Interactive reporting.
    Anyways we can use both Interactive and BI reports simultaneously as per your client's requirement.
    Hope it helps.
    Thanks
    Vikas
    Edited by: Vikas Patil on Jun 7, 2010 5:58 PM
    Edited by: Vikas Patil on Jun 7, 2010 5:59 PM

  • Interactive Report with AND/OR combinations in clause

    Dear forum members,
    What I have is a Interactive Report page with PL/SQL processes triggered by several buttons to filter this report like this:
    APEX_UTIL.IR_CLEAR(:APP_PAGE_ID);
    APEX_UTIL.IR_FILTER(
    p_page_id => :APP_PAGE_ID,
    p_report_column => 'BRANCHES_CODES',
    p_operator_abbr => 'LIKE',
    p_filter_value => '%A%'
    );If calling two of these processes, the resulting query combines the two queries with an AND...
    Is it possible to do the same with an OR?
    Thanks in advance,
    Johann

    From the help file of an IR:
    FilterFocuses the report by adding or modifying the WHERE clause on the query. You can filter on a column or by row.
    If you filter by column, select a column (it does not need to be one that displays), select a standard Oracle operator (=, !=, not in, between), and enter an expression to compare against. Expressions are case sensitive. Use % as a wild card (for example, STATE_NAME like A%).
    If you filter by row, you can create complex WHERE clauses using column aliases and any Oracle functions or operators (for example, G = 'VA' or G = 'CT', where G is the alias for CUSTOMER_STATE).>
    So the user would have to create a row filter - which isn't exactly user friendly, imo.
    Ta,
    Trent

  • Interactive report max row count

    Is there a way to set IR max row count dynamically?
    To improve performance, I would like to set this value to 200 when users run the report and set this value to 50000 when users download the report.

    A dirty solution to this could be , create IR report with rowum < 201 and then add a link to the region header for downloading report. Point this link to another page with the same sql query (classic report) and select the template as CSV.
    Hope this helps.
    Thanks,
    Manish

  • Difference between Interactive report and ALV Interactive report.

    What is the difference between Interactive report and ALV Interactive report.
    i think there is no much difference the same Interactive report Events and functionality we will implement with ALV.
    Experts guide me.

    Hi,
    ALV interactive report gives many advantages than interactive report like sorting, summing and getting graphics.
    An interactive report generally basic list displayed. User double clicks on any valid line or user selects a line and presses as button on the tool bar. Then the corresponding event is triggered
    refer
    http://www.sapgenie.com/abap/drill_down_reports.htm
    You can find a interactive ALV report here
    http://www.sap-img.com/abap/an-interactive-alv-report.htm
    also refer
    Below threads consist of number of interactive ALV codes:
    interactive ALV code
    ALV-INTERACTIVE.
    Interactive ALV
    Regards

  • Interactive Report does not maintain / remain on current page

    Fellow APEX gurus,
    In my APEX application (APEX 4.0), I have an Interactive Report that displays rows of data and each row has an EDIT link which on clicking pops up a Form (Dynamic HTML Page) on top of the Interactive Report Report.
    The problem is -- when on the Interactive Report page, when I navigate to next page of records (Page 2 or above), and EDIT a row on that page, the resulting Form pops up correctly on top of the Interactive Report, however, in the background, the Interactive Report navigates back to Page 1.
    There is only one default branch on the Interactive Report page and I have "Save State before branching" checked.
    How do I maintain the current Page and not allow APEX to navigate back to the First Page of the Interactive Report?
    Thanks,
    Ed

    Mini,
    I already had the Reset Pagination Unchecked. I did uncheck the "save state before branching" but the behavior was the same.
    Once again, I have only one "Unconditional" Branch on this page with the following settings:
    reset pagination for this page - unchecked
    include process success message - checked
    save state before branching - checked
    Anything else to look for?
    Thanks,
    Ed.

  • How to create Updateable Interactive report in APEX 3.2.1.00.11

    I have an interactive report and am asked to add few more user defined columns, some of them should be free text input box type and couple of others are dropdown list (with Y/N options). I can do that if that was just a SQL report but with interactive report, I am not much aware of if it can be done. I know a way to work around this though - like create a link to direct to a new form page and update there but that is not what I wanted. I need to have those columns in the interactive report itself and should be updateable as well. Is this possible?
    Oracle DB 11g
    Oracle APEX 3.2.1.00.11
    Thanks,
    Sam

    Hi,
    This might help
    http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:137800346674748
    I hope this do not come too late
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • APEX_ITEM on Interactive Report losing all the data.

    Hi!
    I'm having some troubles with some apex_items on interactive report.
    The problem happens when i save the interactive report with apex_items and a validation in some of the items fail then i lose all the data entered.
    I made i test application to you guys see the problem and try to solve it.
    URL: http://apex.oracle.com/pls/apex/
    The scheme is Sn4k8
    User: guest
    Password: 123654g
    To see the application: http://apex.oracle.com/pls/apex/f?p=20135:1:
    The application is Interactive Report Example / Page number 1
    A example to test is type on the fields values and then type a start date bigger then the end date this is cause a validation error and you will see all your data entered lost.
    I tryed to find something on the web but i could not find nothing if you guys know something to help post it.
    Regards,
    Ismael Filipe
    Edited by: Sn4k8 on 25/03/2010 12:26

    I think there is a solution with java or pl/sql.
    Try to use the example application and type values in the fields and then type "d" at some date. This will cause a exception and will redirect to a apex erro page, if you click at "ok link", you will come back to the interactive report page and you will see that all your data remains intact.
    I think there is a solution...
    Regard,
    Ismael Filipe

  • Hints on Interactive Report's column headers

    Hi,
    I've used +"< spa.n title = "Hint" > Header < / span>"+ (the first 'spa.n' is so it doesn't interpret as code) to put hints on my report columns headers but found that, when using interactive report's tools, the column names that appear obviously include the "code".
    Is there any way to put hints on interactive report columns and still maintain the proper title(in this case Header) when using the tools?
    Thank you,
    Marc

    Hi,
    Thank you for the tip Ghoulies. The spaces I put trying to make it read as text. The code works fine, it actually shows the Header in the report's column and the hint appears on mouse-over.
    What I mean is, when using interactive report's tools, such as "Select Columns", The <span title="hint">header</span> {code} appears as the column name in the +display / not display+ boxes.
    Is there any other way to put hints on Interactive reports so that this doesn't happen?
    Marc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Interactive reporting : error while refreshing MSSQL data in Workspace

    Hi all,
    I recently work with Hyperion and I am facing an issue that makes me crazy.
    My configuration is simple :
    - 1 win2003 server with Hyperion Interactive Reporting services and workspace installed (both works properly)
    - 1 winXP machine with MS Sql Server 2005
    - My dev PC an winXP with IR studio.
    I created an IR report with a MSSQL query that retrieves data into a Table.
    The report is displayed properly and the data is OK.
    When I refresh the data in IR studio, everything is OK.
    I import the OCE file into the the workspace, following by the BQY file.
    The report is displayed properly in workspace with the correct data.
    I change the data in the MSSQL server and I try to refresh the report in the workspace.
    So, I open the report in the workspace and I click on the refresh button.
    But when I do that, I get an error message.
    I read somewhere that we have to configure the DAS.
    I assume that the configuration is made via the Administer/Database connection management (sorry if names are not correct, but I have a french version).
    But when I try to add a new connection, I have only 4 choices for the type of database : Essabse, Financial Management, Planning and SAP BW.... No MSSQL Server.
    I hope that anyone among you can help me, but anyway, thanks for reading my post.

    You need to enter DATABASE details in DAS (Data Access Services) by running Service Configurator.
    Then run Remote and Local Service configurator to enter database details.
    ##I assume that the configuration is made via the Administer/Database connection management (sorry if names are not correct, but I have a french version).
    This is something related to Financial Reporting.
    Hope this helps.
    Regards,
    Manmohan Sharma

  • Public / Sharing of Interactive Reports

    The new Interactive Reports are a great feature that will be extremely helpful for both our development team and our users. However, currently when a user saves an interactive report, there's no way to share it with other users or to make it a public report that can be viewed by everyone. This is because the report is saved with the user's name and can only be viewed by that particular user. This really limits the usefulness of the interactive reports. For example, we would like to enable our power users, administrative users, and even regular end users to be able to create and modify reports and share them with others. In addition, our company has several hundred Crystal reports that we would like to replace with interactive reports. However, if our development team creates all of these as interactive reports (using the “Save Report” feature, not as separate pages), there is no way to make them public so that all of our users can then access them. I've read several requests in this forum for this type of enhancement. I've also read that the apex team intends to implement this sharing feature soon. In the meantime, I've figured out a work-around. This work-around saves and retrieves all interactive reports using a generic, fictitious user name. Using the Page Sentry Function under the Authentication Scheme, we switch the APP_USER to a generic, fictitious user only for the interactive report pages, and set APP_USER back to the original, correct user on the other pages. Here's the code I'm using in the Page Sentry function:
    declare
    c owa_cookie.cookie;
    begin
    if :app_page_id in (1,51,52) then
    APEX_CUSTOM_AUTH.SET_USER('REPORT_USER');
    else
    c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    APEX_CUSTOM_AUTH.SET_USER(c.vals(1));
    end if;
    return true;
    end;
    This code will set the APP_USER to "REPORT_USER" on pages 1, 51, and 52. Therefore, when interactive reports are saved or retrieved on these pages, they will use the user named "REPORT_USER" regardless of the user that actually logged into the application. This concept can also be expanded to limit certain reports to certain users (or groups of users) by calling a custom function in the database.
    I tried using the SET_USER code within a page process (PL/SQL anonymous block), and although it changed the APP_USER, it did not affect the interactive report. I assume this is because the interactive report “does its thing” prior to the firing of the processes on a page. However, the Page Sentry function apparently fires earlier in the sequence (before the interactive report processing).
    This will make the interactive reports much more useful for our company and I hope it will be useful to some of you as well.
    Darrin

    Scott-
    Thanks for the feedback. I tried both the Session Verification Function and the VPD attribute and neither one accomplished the goal. The VPD attribute PL/SQL code apparently fires too late in the process, so although it changed the APP_USER, it had no affect on the interactive report. And the Session Verification Function had adverse affects on the authentication. So rather than mess around with the security settings in the application, I came up with a different work-around.
    Here's the new work-around.
    On the interactive report page I created a page process (PL/SQL anonymous block) and set the process point to "On Load - Before Header". For the process I entered the following pl/sql code:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where ID = :REPORTID
    and session_id is null;
    end;
    This code changes the application user in the underlying interactive report table. It sets the user to the current APP_USER only for the report being viewed. Therefore, when the interactive report processing happens, it thinks the report is for the current APP_USER and renders the report just fine. It also saves any changes to the report back to the base report so other users can view the modifications as well.
    I have the tab feature turned off on my interactive reports. Instead I have another page that lists all the interactive reports. When a user clicks one of the reports in the list, I set the REPORTID variable and pull up the corresponding interactive report (that's why I'm using REPORTID in the where clause). For users that are using a tabbed approach, they may have to set the application user for all of the base reports (or figure out another way to determine which individual report tab is being viewed). If they were setting it for all the base reports, it would look like this:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where session_id is null;
    end;
    This solution isn't ideal when lots of users are hitting the same interactive report. It's possible that if two user attempt to load the same interactive report at the same time, the following might happen.
    1. User A triggers process to update underlying table
    2. User B triggers process to update underlying table
    3. User A triggers process to run interactive report (and therefore does not see the report because the report is now set to User B)
    4. User B triggers process to run interactive report (and sees report just fine)
    So the solution isn't ideal, but it's the best I could come up with until the apex team implements real report sharing. I've tested it with a handful of users and it's worked very well so far.
    Darrin

Maybe you are looking for

  • HT4623 My iPhone4s updated to 7.1.1 and now my internet and email is not working. I need help?

    Sorry, I'm new to this, I installed IOS 7.1.1 on my iPhone 4s and now my internet and email is not working.  I have googled this on my computer and can't find any reference to this sort of problem. I need help.  Thanks in advance. 

  • Issue with VIRSANH 530_710 deployment

    We are trying to install GRC 5.3(VIRSANH 530_710) on SAP NetWeaver 7.30 SP7. As per note:865572 this is supported, but when try to deploy from SAINT it throws the error: "Component SAP_ABA 710 has to be installed". Any sort of help is much appreciate

  • Vendor classification - Table

    Hi All, I have 3 lac plus vendors in my Production system,i have to find which are all the vendors have classification details. Please let me know, if there is any table to put classifications and get the vendors as o/p. thanks in Advance Carthee

  • Can anyone know this bug....

    Hi all, I'm new to the forum and the J2EE. Actually, i'm trying to get some values in a html form and call a jsp. The jsp page has to send the values to the bean and the bean should insert the values into a table. Actually everything is fine but the

  • Delivering plant

    hi all how to make delivering plant is sales order  mandatory without using any incompletion procedure..... the requirement is the user after entering Sold-to party must enter delivering plant and only after that the material can be enterd at item le