Totaling subreport data on each page

I have 5 subreports linked to the main report all based on Employee ID.  They each pass their data via a shared variable.  The data is being passed to the main report without a problem.  When I try to total each page (one per employee), I am not getting the correct total when there is a blank value for one of the subreports.  If the value should be 0, the subreport is still holding the value from the previous employee, and adding that into the total - even though it is not displaying a total.
Is there a way to clear the shared variable for each page (employee).  I have tried putting a reset in the page footer, but it doesn't seem to work.  I have also tried putting a reset variable in the header of the subreport - that also didn't work.
My subreports are currently located in the details section of the main report.  My report total (on each page) is located in the details b section, along with the shared variables that bring the totals from the subs.
How can I get the shared variables cleared after the totaling of each page?  I'm using Crystal 2008, and I'm stumped!

Hi Raghavendra,
I'm not sure I understand about creating a fake group?  I did try to insert a group in the subreport, and selected to have it repeat the group header on each page.  I then put a reset in the group header.  I also suppressed the group header, but it is still not clearing the shared variable in the main report. 
Did I create the "fake group" correctly?
The value returned by the sub is correct (I get 0.00 when applicable), but that shared variable in the main report continues to hold the previous value until replaced with a value other than 0.00.
Thanks in advance for your help!
Laurie

Similar Messages

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • Repeating User input (such as name and date) on each page automatically

    Is there a way of having the information provided by the user on one page, such as name and date, automatically repeated on separate pages (perhaps as a header/footer.) The input would be via Reader only.
    I have an application form of four pages, after the first page there is no direct unique evidence linking the remaining pages to the first.
    Basically I want each page when printed to have an identifier, so that in the event of the pages getting mixed up, they can be put back together.
    Any advice gratefully accepted

    Hi,
    you can sole your problem with many way...
    - You can use Global binding, so user nter data one time and every field with the same name automaticaly get the same value.
    - You can use some Javascritp to obtain similar effects (more complicated but more fexible):
    Create a Js Object (name it Global for Example).
    Create some variables, i.e.: var field1;
    Place one field in master pages and in their initialize event use the statement below:
    Global.field1 = this;
    In this way you obtayn a refernce that you can use everywhere in your form.
    For example you can write: Global.field1.rawValue = "Hello word";
    I hope this helps :-)
    Bye.
    Roberto.
    (sorry for my poor english);

  • Is there a way to sort a large document by a date on each page?

    We receive medical records, which are then scanned and saved as a single document. They are not provided to us in any type of order. I need to sort the document chronologically based on the date of treatment. And sometimes, a treatment records is more than 1 page.
    Is there a way to add a tag of some type to each page and then go through and have the entire document sort by the tag?  We review each page electronically, so adding a tag or highlighting the date of treatment is possible. Dragging and sorting each page, however is too burdensome when its close to 500 pages.
    I use Adobe Acrobat 9 Pro.
    Thank you in advance!!

    Thanks for the response Camino fan.
    Unfortunately setting these preferences in the finder haven't carried over into stacks on the dock. My finder organizes by kind as you described, but even after doing so, the stacks continue to sort by the default (name).
    Any other ideas?

  • Auto updating date on each page

    I want to put a date at the top of each page that updates automatically.  When I insert a date, it only updates when I tell it to.  I tried a table with =NOW.  This updates only when I open the file, and I can't seem to get it into the header so it repeats on each page.

    With the NEW IMPROVED Pages 5.2, like most things, it won't do it.
    Use Pages '09 if you still have it in your Applications/iWork folder.
    Peter

  • Wiki - Custom Sidebar displaying Mod Date for each page

    I've created a custom theme based on the wireframe theme and have added a cuastom sidebar. This works fine. However all the pages that appear under each section of the sidebar also show the pages modification date and time.
    Does anyone know how to stop it displaying the mod date and time?
    The default Apple themes don't do this.
    Thanks

    If you look at the supplied themes, you'll see that grouphome.css has a rule for sidebar snippets to turn off display:
    .sidebar .module .snippet{
    display:none;
    }

  • Looking For Method Of Displaying Drill-Down Subreport Data On Same Page

    Not sure what the technical term for this is, but I need to find a way to display dynamic drill-down sub-report data within a report.  Here is an example of what I am trying to accomplish:
    + DATA SUMMARY 1
    + DATA SUMMARY 1
    - DATA SUMMARY 1
            data detail 11
            data detail 12
    - DATA SUMMARY 2
            data detail 2
            data detail 2
    The idea is you click on the + (plus sign) and the subreport detail unfolds below the summary row.  To close the sub-report data, you click on the - (minus sign).  Right now, the report pops up the sub-report data in a separate tab, which is not what the client wants.
    Fuskie
    Who doesn't know if this is a function of report design or of viewer manipulation of report data...

    I think this is called In Place Drill Down.
    Fuskie
    Who appreciates y'alls help....

  • How can I create a month and have the dates change on each page, auto?

    Hey!
    I need some indesign help.
    I have a section "January" and another "February" etc for the 12 months.
    I have one day per page with a month as a section. Then another month as a section and one day per page etc?
    I want to auto change the date on each page.
    I already have page numbers....
    Any suggestions would be appreciated!
    T.

    Have you considered using CSS styled text/list menus instead of image rollovers.  It isn't hard really and it's actually a much better choice for   web accessibility and for search engines to find and follow your links.   Here are some links to several CSS menu systems you can try:
    CSS Express Drop-Down Menus (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Page totals not printing on any pages except the last

    How do you get page totals to display one each page and "float" with the output? I created a summary object for the column with reset at page and put it in a frame that is displayed on all pages. There is, of course, a repeating group above it. But the repeating group clobbers the page totals on all except the last page. Shouldn't there be an implicit anchor that prevents this? that's what the Oracle documentation says anyway. This is probably real simple, but I find nothing in any documentation, white papers, or anything.
    Will somebody please, please help me?

    Hi,
    Step 1: Select the parent frame of the summary column.
    Step 2: Open properties of that frame
    Step 3: Set the property "Print Object On" to "All Pages" value.
    (Default value for this property is "Last Page"
    Regards,
    Sailaja

  • Page Header not repeating on each page of Subreport

    I made a crystal report whose record detail is opening in a subreport. I want to make Page header to be present on each page of my subreport but i am not able to do it. what setting i should apply for that?
    Regards
    Jitendra

    Hi Jitendra,
    You need to create fake page header in subreport.
    For more information, check out this link
    https://boc.sdn.sap.com/node/19833
    Hope this helps.

  • Repeat Group Header on Each Page in Subreport won't reflect when generate by JRC

    Hi All,
    I have a report that contain several Subreports. Inside the Subreport, there are Group Header section. I have checked the option of "Repeat Group Header on Each Page". It works fine when I preview in Crystal Report. But when I using JRC to generate the report result. The group header only display on the first page of the group details.
    More, Crystal 10 Common Monthly Hot Fix (English) already installed.
    Any idea?
    Thanks a lot for your help!
    Donald

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • Create a multiple Pg PDF with Forms, while adding up total of each page.

    My name is Javier Morales, I am working on a project for a client in the clothing business. I created a form that it is working very good. I would like your help on figuring out how to insert additional pages to a Pdf form document and keep on adding the Totals of each page.
    My email [email protected] I will really appreciate your prompt response. Right now I have them as single PDF documents, which work fine, as long as I dont try to combine them.

    Fields within an AcroForm PDF need to uniquely named unless you want the identically named fields to share the same value.
    You may have to rethink your approach. You should look at using the template object to spawn additional pages. Unformtuately templates do not function in versions of Reader before XI.

  • Dynamic data in header on each page.

    So, I would LIKE to put a text frame in a master page, which contains dynamic data (various methods have been tried, XML, Data Merge, Place TXT file) and this frame will load a different line (paragraph, xml node, row) on each page that uses the master template...
    I dont think ID (CS5.5) can do this...
    Basically I want to show testimonials on each page of a brochure, but load them from an external source so that they dont need to be type in on every page - and can be updated very easilly...
    Ideas?
    I tried putting a frame on a master page, set the options to only show a single paragraph and to show the next paragraph on the next frame... but every frame on child page, starts with the first row of data...
    Im going grey here.

    Hi, sorry for the huge delay in getting back.
    I've got a text frame place holder in the master,
    I placed a .txt file into it, and see the first line/paragraph of text, and also see the red overset text icon
    I have assigned a paragraph style to the frame (and also words themselves and that didnt work either).
    Ive i scroll down looking at the pages using this master, they all have exactly the same: the first line of text from the placed file...

  • Printing current date and time on each page

    I'm often printing several versions of a document (e.g. a paper in progress). To keep track of the printouts I would like to print the date and time of printing onto each page, regardless of which application I'm using (although it would be okay if it works for PDF files only, if it happens automatically). I have seen Windows printer drivers including this feature, but haven't found any settings here (e.g., Canon iR3225) nor any hidden-CUPS-feature-I-could-activate-in-the-config-file.
    Any ideas? Some sort of preprocessing I could inject into cups?

    I agree with Greg. I had a quick look through the cups settings and could not see what you want. The closest thing would be a cover page, which you can also do via the standard print dialog.
    And checking the iR32xx series printer driver on Windows 7, there is no feature to print the date/time within the driver. So as Greg has mentioned your reference to Windows having this feature must be via an application rather than a driver setting.

  • Repeating a group element on each page of a report.

    I have a report where I need to repeat a group element on each page. The element is from the first group in the data. It is in the center group. Currently, the values from this group only print when the group changes. Everything I try does not work. Does anyone have any ideas. I am attaching a sample of the data. Along with the rtf document. I am using the BI Publisher plug in in Word to create the template.
    Data
    <?xml version="1.0" encoding="UTF-8"?>
    <POLLEDTICKETRPT>
    <USERCD>klockhar</USERCD><POLLDATE>03/24/2009</POLLDATE>
    <LIST_CENTER>
    <CENTER>
    <CENTER_CD>0039</CENTER_CD>
    <CENTER_NAME>CROSS PLAINS QUARRY</CENTER_NAME>
    <LIST_TRANSDATE>
    <TRANSDATE>
    <TRANS_DATE>03/11/2009</TRANS_DATE>
    <LIST_CUSTOMER>
    <CUSTOMER>
    <CUSTOMER_NBR>33221477</CUSTOMER_NBR>
    <CUST_NAME>TDOT DISTRICT 32-GALLATIN</CUST_NAME>
    <LIST_JOB>
    <JOB>
    <JOB_CUST>33221477</JOB_CUST>
    <JOB_CUST_NAME>TDOT DISTRICT 32-GALLATIN</JOB_CUST_NAME>
    <RGI_JOB_NBR>2008</RGI_JOB_NBR>
    <QUOTE_ID>0</QUOTE_ID>
    <LIST_COSTCODE>
    <COSTCODE>
    <COSTCODING/>
    <COST_CNTR/>
    <COST_ACCT/>
    <PROJECT_NBR/>
    <PROJECT_TASK/>
    <LIST_TICKET>
    <TICKET>
    <TICKET_NBR>5000021</TICKET_NBR>
    <ORIGIN_CD>TSCC</ORIGIN_CD>
    <REFERENCE_NBR>254510</REFERENCE_NBR>
    <VOID_IND>N</VOID_IND>
    <STATE_CD>TN</STATE_CD>
    <MEASURE_SYSTEM>S</MEASURE_SYSTEM>
    <LOCATION>THANK YOU</LOCATION>
    <PO_NBR>POS-254510-C</PO_NBR>
    <TAX_CODE>4</TAX_CODE>
    <PRODUCT_CD>000003</PRODUCT_CD>
    <HAUL_ZONE_CD/>
    <INVENTORY_STATUS>PR</INVENTORY_STATUS>
    <HAULER_NBR/>
    <RGI_TRANSPORT_CD>FU96</RGI_TRANSPORT_CD>
    <HAUL_RATE> .00</HAUL_RATE>
    <MAT_RATE> 8.50</MAT_RATE>
    <NET_TONS> -7.96</NET_TONS>
    <MAT_SALES_AMT> -67.66</MAT_SALES_AMT>
    <HAUL_AMT>0</HAUL_AMT>
    <TAX_AMT>0</TAX_AMT>
    <SEV_TAX_AMT>0</SEV_TAX_AMT>
    <SEV_TAX_IND>N</SEV_TAX_IND>
    <VALID_NET_TONS> -7.96</VALID_NET_TONS>
    <VALID_SALES_AMT> -67.66</VALID_SALES_AMT>
    <VALID_HAUL_AMT> .00</VALID_HAUL_AMT>
    <VALID_TAX_AMT> .00</VALID_TAX_AMT>
    <VALID_SEV_TAX_AMT> .00</VALID_SEV_TAX_AMT>
    <CASH_TONS> .00</CASH_TONS>
    <CASH_SALES_AMT> .00</CASH_SALES_AMT>
    <CASH_TAX_AMT> .00</CASH_TAX_AMT>
    <CASH_SEVTAX_AMT> .00</CASH_SEVTAX_AMT>
    <CASH_HAUL_AMT> .00</CASH_HAUL_AMT>
    <TRADE_TONS> -7.96</TRADE_TONS>
    <TRADE_SALES_AMT> -67.66</TRADE_SALES_AMT>
    <TRADE_TAX_AMT> .00</TRADE_TAX_AMT>
    <TRADE_SEVTAX_AMT> .00</TRADE_SEVTAX_AMT>
    <TRADE_HAUL_AMT> .00</TRADE_HAUL_AMT>
    <INTRA_TONS> .00</INTRA_TONS>
    <INTRA_SALES_AMT> .00</INTRA_SALES_AMT>
    <INTRA_TAX_AMT> .00</INTRA_TAX_AMT>
    <INTRA_SEVTAX_AMT> .00</INTRA_SEVTAX_AMT>
    <INTRA_HAUL_AMT> .00</INTRA_HAUL_AMT>
    <INTER_TONS> .00</INTER_TONS>
    <INTER_SALES_AMT> .00</INTER_SALES_AMT>
    <INTER_TAX_AMT> .00</INTER_TAX_AMT>
    <INTER_SEVTAX_AMT> .00</INTER_SEVTAX_AMT>
    <INTER_HAUL_AMT> .00</INTER_HAUL_AMT>
    <CASH_PR_TONS> .00</CASH_PR_TONS>
    <CASH_NP_TONS> .00</CASH_NP_TONS>
    <CASH_MI_TONS> .00</CASH_MI_TONS>
    <TRADE_PR_TONS> -7.96</TRADE_PR_TONS>
    <TRADE_NP_TONS> .00</TRADE_NP_TONS>
    <TRADE_MI_TONS> .00</TRADE_MI_TONS>
    <INTER_PR_TONS> .00</INTER_PR_TONS>
    <INTER_NP_TONS> .00</INTER_NP_TONS>
    <INTER_MI_TONS> .00</INTER_MI_TONS>
    <INTRA_PR_TONS> .00</INTRA_PR_TONS>
    <INTRA_NP_TONS> .00</INTRA_NP_TONS>
    <INTRA_MI_TONS> .00</INTRA_MI_TONS>
    </TICKET>
    </LIST_TICKET>
    </COSTCODE>
    </LIST_COSTCODE>
    </JOB>
    </LIST_JOB>
    </CUSTOMER>
    </LIST_CUSTOMER>
    </TRANSDATE>
    RTF Template
    DISPLAY CENTER
    S M
    FOR EACH CENTER
    SET CENTER
    CENTER: CENTER_CD CENTER_NAME
    FOR EACH TRANSDATE
    TRANSACTION DATE: TRANS_DATE
    FOR EACH CUSTOMER
    FOR EACH JOB
    Customer: JOB_CUST JOB_CUST_NAME
    Job: RGI_JOB_NBR Quote Id: QUOTE_ID
    FCC
    group COSTCODE by COSTCODING
    Cost Center: COST_CNTR Cost Acct: COST_ACCT Project: PROJECT_NBR Task: PROJECT_TASK
    Ticket Nbr     ORGCD     OrigTck     V     ST     Location     Po Nbr     Tax Cd     Prod Code     ZN     Hauler      Truck     Haul Rate     UnitPrice     Tons     SalesAmount
    F TCK#M     CODE     OTCK#     V     ST     LOCATION     PO_NBR      TC     PROD     HZ     HAULER     TRUCK     0.00     0.00     0.00 *      0.00 E

    Post Author: Guy
    CA Forum: General
    Hi,
    You should add a first level of grouping in your subreport on a fake formula field with a constant value.  Put your header and footer information in this group header and footer.  In the group option make sure to check the "repeat group header on each page option".
    This group will act as a page header + footer within your subreport.
    good luck!
    Guy

Maybe you are looking for