Viewer TOTAL record count display CRViewer9

Post Author: niblick
CA Forum: General
A application written in a previous version of Crystal Reports (7 or 8 ?) displays the TOTAL record count in the viewer (not in the report).  I had to upgrade the reports to version 9 (RDC - CRViewer9) and when I preview the report there is no TOTAL record count in the viewer.  How do I enable this in Crystal Reports 9?
Thanks

check inbox. forwarded the updated template

Similar Messages

  • Record count per page , total record count per report in BI Publisher

    hi,
    In Oracle BI Publisher tool , can you please tell me how to display total record count of a report ? as well as how to display record count per page ?
    Thanks for your help
    Regards
    Gayathri

    check inbox. forwarded the updated template

  • How to get a total record count before grouping?

    I need to group a report on a formula that does roughly the following:
    [record count] / ( [total record count] / 20 )
    What this acheives is to label each record with a number of 1 - 20 which I want to group on. Getting this figure is the easy part, what is not working is the fact that I cannot group from a formula that is calculated after grouping. I overcame a portion of this by using "Whilereadingrecords" (rather than "count", running totals, or while printing records) to acheive a record count.
    I can't figure out how to get a total record count done before grouping. Is there a way to do this with "WhileReadingRecords"?? Is this even possible?
    Thanks
    John

    Hi John, 
    The order of how Crystal does things dictates the order of which features you can use.  Crystal has a two pass method.  In the first pass it does things like passing the query, grouping, summarizing.  In the second pass it does formulas, formatting, etc. 
    Unfortunately Crystal does the Grouping before summarizing so what you want to do can't be done in Crystal.  The best way to get around this to either create a SQL Command or view/stored procedure that will do the summarizing for you.  Then in the report you can use it. 
    Hope this helps,
    Brian

  • How do I view total song count in iTunes 11?  Previous versions listed total song counts at the bottom.

    Does anyone know how I can view my total song count in my library in iTunes 11?  All previous versions listed the total song count in my library at the bottom.  Thanks for the help!

    It sounds like the staus bar is turned off. Select view from the menu bar and enable the staus bar.

  • How to get the total record count for the report

    Hi,
    How can I get count of the total records shown in the report. When we set the report attributes, we have an option "Set Pagination from X to Y of Z"
    Does anyone know how can I get the Z value from APEX variables.
    I know we can use that query and get the count but I just want to know how we can use APEX Variables effectively.
    Thanks in advance.

    You write a loop, something like this:
    Go_block('B1');
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    First_Record;
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    Loop
      If :system.record_status in('CHANGED','INSERT') then
        -- modify the record here--
      End if;
      Exit when :System.Last_Record = 'TRUE';
      Next_Record;
    End Loop;
    First_Record;But be very careful-- If your block can fetch a large number of rows, (over 100), this loop can take a long time, and you should not use this method. The loop will continue fetching more rows from the database until all rows satisfying the query are retrieved.

  • How to get the total record count in ODI

    Hi
    I have the interface the are file to DB.
    The format is like this..
    HEADER
    DETAIL
    TRAILER
    Now will write the contains of file to DB,
    But i have to insert the total count ie numberof record written from file to DB in my Trailer record.
    can you tell me how can i get the total count of records in file and write it to trailer?
    Also, I want the interface to rollback the data if something fails will loading the data from file., ie. if there are 100 records in file and 50 got transfer and something fails i want to rollabck the 50 records from DB.???
    Thanks :)

    Hi
    You can design a flow for Full load flow and incremental flow from flat file to Table.
    Create a table at target database like.. (create table with last_execution and palce the V_FULL_LOAD value and LAST_EXECUTION_DT columns in last_execution table)
    Add faltfile as table in model, create a variable as V_FULL_LOAD and make sure that the default values is 01-01-1900
    Create one more variable like V_LAST_EXECUTION_DATE (in this variable write a case statement that if V_FULL_LOAD value is 'Y" then full load should happen and same time you should check that V_FULL_LOAD column is balnk then write insert statment else write update statement to update last_execution_dt column, similar for 'N')
    please provide your *personal mail ID*, i will send a doc file realted to your query.
    we have to tables present in work repository (SNP_STEP and STEP_LOG tables) using tables we can get how many records are inserted/updated and we can find how many records are not transfer and gor error.
    Thanks
    Phani

  • Help - Total record count

    I want to print total no of records in the trailer section of report.
    Can somebody give me a suggestion on this
    Mathew

    Define summay column with function as 'Count'. Source is your key field in the report
    Try this.
    KM

  • Adhoc Query- Count of no of Records not displayed

    Hi,
    We are building adhoc queries for one of your requirements. In which, we need to generate the total count of the records. And also no of records with the same value in a specific column.
    Even though we configured this value properly, the ALV output is not displayed as per the configuration.
    Configurations:
    1. Configure a Column in the count field in the "Basic List"
    2. And also tried, Configuring Sort Ascending and Sum attributes under the "Statistics" .
    None of the above two has produced the desired result.
    Can you please suggest me which way we need to go ?

    Hi,
    Before the output in ALV you can try:
    1. Total record count - you can try use DESCRIBE TABLE <internal table>  LINES <variable>.
    2. No. of records with same values - pass the internal table to another internal table and DELETE ADJACENT DUPLICATES COMPARING your needed field, then you can compare the 2 internal table and count number of similar values.
    Hope this gave you another way to address your problem.
    Thanks.
    kath

  • Record Count Issue in Search page ?

    Hi Friends
    I am trying to display record count on Search page and I have the following code in
    The table has total of 62 Rows
    AM : for testing purpose, i am printing in log
    public void getISAGRecordCount()
    OAViewObject vo = (OAViewObject)getXXG2_ELIM_ISAGSView1(); //getXXG2ISAGSearchVO1();
    int fetchedRowCount = 0;
    vo.setMaxFetchSize(-1);
    vo.executeQuery();
    fetchedRowCount = vo.getRowCount();
    System.out.println("RowCount: "+ fetchedRowCount);
    IN PFR of CO: I am calling by this way
    am.invokeMethod("getISAGRecordCount");
    the Issue is
    for the first time, when i search  Based on search criteria, I know it should dispaly 10 records  but in the Log file i see the total Record Count of the Table     Ex; 62
    When i do the serach for the second time, based on search criteria, I know it should display 20 records, but the log file has 10 records ( previous search results)
    If I do the search for 3rd time, I see 2nd search results in log
    Any help in this issue, how to fix this?
    Thanks
    Ravi

    Hi,
    Please donot use getRowCount(), use getFetchedRowCount() and remove setMaxFetchSize(-1).
    Hope it will resolve your issue.
    Just for understanding of the concept:
    getFetchedRowCount() returns the number of rows cached in the view object -- including programmatically inserted rows.
    The getRowCount() implicitly execute a query against the database (if a query has not been executed yet)
    Regards,
    Reetesh Sharma

  • Total Records in a Table

    I am new to the Oracle environment and I am trying to find a quick way to get the total number of records loaded into a table. Is there any command you can use to verify this? I know a log file can be created when loading a file, but I do not see a record count displayed in this file. Thank you in advance for your help.

    Hi Melissa,
    The simplest way to do this is to issue a SELECT statement on the table you have loaded. This can be achieved by issuing the following command:
    SELECT COUNT(*) FROM table_name;
    where the table_name is the name of the table you have just loaded.
    Secondly, you can obtain the number of records loaded by turning your FEEDBACK parameter on before prior to loading. At the end of a successful load, the number of records created will be displayed, assuming that your are loading from one table to another.
    For more info, please refere to the SQL*PLUS reference manual.
    Thanks,
    John
    null

  • Records count in Receiver File Adapter

    Hi All,
    I have a scenario IODC to File. The requirement is to get the total record count in the Trailer record of the Target File .Please help.
    Regards,
    Kevin

    Hello,
    The requirement is to get the total record count in the Trailer record of the Target File
    In your XML, decide which IDOC field you get your records from and then do a similar mapping
    IDOC field -> removeContext -> count -> TrailerRecordfield
    Hope this helps,
    Mark

  • Total records not shown in bottom panel

    Hi all,
    I am running Forms 10g. When my forms runs, the total record count does not shown in the bottom panel but a question mark instead. For example it would show 1/?
    Could you tell me why it would do that?
    Thank you.

    This is because forms do not know, how many records will be retrieved from the database.
    If you go to the last record, forms will show you how many records are in your block.
    You can set the Query All Records block-property to yes to see immediately how many records there,
    but if there are a lot of records to fetch, it might results in a long query time.

  • UDF for Total records

    Hi
    I have a scenario where sender is file. In file there is a field Total records.
    I need to validate Total records field with the total records in the file using UDF..
    Can any suggest me the how to write the cod efor this..
    venkat

    Hi Venkatesh,
    In your source structure should Detail Records count  equal to Total Record Count?
    if yes,just create <b>Context</b> UDF and pass the following 2 inputs
    1. <b>DetailRecord</b> -> RemoveContext
      2. <b>TotalRecord</b>
    and inside UDF write java code for validation
    suppose if your inputs are a[](DetailRecord) and b[](TotalRecord)
      int scnt = a.length;
      int tcnt = Integer.parseInt(b[0]);
      if( scnt != tcnt)
           //write code to trigger an alert(from the following weblog)
    To Trigger alert from UDF just go through the following weblog
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Cheers,
    Jag

  • How to Display Record Count on Search page?

    Hi
    I am new to OAF and one of the requirement is to display record count on Search page . I followed the same steps in Emp Search page as an example and created my search page.
    I followed the following steps
    1) I created a transietn Attribute in VO by name RecordCount
    2) I had written a method in AMImpl
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    OARow reportRow = (OARow)vo.createRow();
    System.out.println("in set attribute");
    reportRow.setAttribute("RecordCount",xfetchedRowCount); // I am using this way and trying to display record count into RecordCount view Attribute
    }//getRecordCount
    3) on the SearchPG, I created a new messageStyledtext by name RecordCount and assinged VO and viewAttribute accordingly
    I am not able to see record count when i run the page ?
    Am i missing any steps ?
    I see the messages in the log file but not in Record count box ?
    Any suggestions?
    Thanks
    Ravi

    Hi Anoop
    i made the code change according to you and because of the following condition, it is createing a" new row" in the search page
    Row row = vo.createRow();
    vo.insertRow(row);
    For every search it is creating a new blank row in search page .
    I did some more research and modified my code as
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = 0;
    fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    //vo.setMaxFetchSize(0);
    //vo.executeQuery();
    if (fetchedRowCount == 0 )
    Row row = vo.createRow();
    //row = (OARow)vo.first();
    row.setAttribute("RecordCount", "0");
    else
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    Row row = vo.createRow();
    //vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    // Set the primary key value for this single-row VO.
    row = (OARow)vo.first();
    row.setAttribute("RecordCount", xfetchedRowCount);
    and in AM , I am calling this method in PFR as follows
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    am1.invokeMethod("getRecordCount");
    now i see the record count on the search page . but after 2-3 searches, the record count value is not populating the correct value. its weird
    Any suggestions
    Thanks
    Ravi

  • Can't View All Records if Max Row Count is null

    Hi,
    There are over 2500 records in a table and if Max Row Count is set to nothing in report attributes, the user is restricted to view only 500 records. And If Max Row Count is set more than 2500 then user is able to view all records but taking more time to display report.
    What to do to minimise process time and allow user to view all the records. ?
    Pagination Scheme : Row Ranges X to Y of Z (with pagination)
    Number of Rows : 100
    Number of Rows (Item) :     <empty>
    Max Row Count :           <empty>
    Thanks,
    Ven.

    Hi Ven,
    Apex restricts the number of rows returned by a report to 500 by default. You can change this by setting the Max Row Count. Apex does this so that the amount of data returned over the network to the browser is kept to a reasonable amount. The reason it is done this way is because a user in apex does not maintain a stateful connection to the database and as a result, rows returned from a query can not be cached in the database and fetched as required.
    From a usability point of view, I'm not sure why a user would want 2500+ rows returned to a screen. They would have to scroll and paginate to find anything of use and network bandwidth would get chewed up in the process. Why not provide the users with query options so that the number rows returned to the browser is restricted to a more manageable amount? If the users require a full hardcopy of the data then you can handle this with csv and pdf options.
    Regards
    Andre

Maybe you are looking for

  • Has anyone experience a bug with red eye correction in LR 5?

    No matter what I do, anytime I try to use the red-eye correction tool, I get the message "Unable to find red eye".  Even in pictures where the red eye is huge and clearly visible.  Has anything changed in LR 5 that would cause this?  I have Red Eye C

  • Pro*C SEGFAULT on open cursor

    Hi, I have query like below. SELECT count(*) from table1 where batch_id in (select unique batch_id from table1 where <condition on dates>) and <condition2>; Its prepared fine and when opening, its getting core dump with segfault. The table has ~8cr r

  • Alarm for a specific event and time

    My alarm works just fine, if I set it to ring like an alarm clock.  The problem is that from time to time if I enter a specific time and event, it will not alarm. For example: 9:00 AM.  Phone home The alarm indicator will be checked in the preference

  • Upgradation from 4.6c to 6.0

    An error occurs saying "BAPI_CLASS_GET_CHARACTERISTICS " is obsolete in one report after upgrading to 6.0 from 4.6c.what is the alternate to this?

  • Concatenate fields when UPDATING mysql with php

    I have managed to concatenate 2 form inputs (firstName + lastName = fullName) when Inserting a record by altering the Dreamweaver code thus: $insertSQL = sprintf("INSERT INTO personnel (id, firstName, lastName, fullName) VALUES (%s, %s, %s, ('$_POST[