How to know how many rows including headers and footers does subreport has from Main Report

Hi, we are sturuggling with subreports. Main report has 3 subreports, each subreport is inplmented in a group header(3 subreports and 3 group headers). We would like to print a group header under subreport as a column header every page, and need a page break when group number is changed. This report exports a MS Excel(97-2003) report file.
In main report, [New After Page] is checked under Group Header #1d from [Section Expert]
In each subreport, [Repeat Group Header On Each Page] is checked under the highest group from [Group Expert]
Here are two issues;
Since Crystal Reports has more rows than Excel in one page, colmun header in each subreport is being printed in the middle of the page. It should be printed at the top of the page
When Subreport has many rows and has to be printed in more than 1 page, a page break is automatically inserted before column header. It should be printed right below column header which is Group Header #1
We have been trying to pass row counts(count of group header because group header is used as the details) using a shared variable from Subreport 1 to Subreport 2 via main report since Subreport2 cannot predict how many rows Subreport 1 has.
Here is what we are trying but we are getting an error which is "A constant expression is required here" under main report
- In Sunreport 1
whileprintingrecords;
shared numbervar SubGroupCount := DistinctCount({Table.Field});
- In Mainreport
shared numbervar SubGroupCount;
if(pagenumber) = 1
then (SubGroupCount)
else 50
Is there any solutionss or better ways other than above?
Thank you,
Main Report: Group Header #1a --> as Page Header
Run Date: mm/dd/yyyy                                                                 Report Name
Main Report Group Header #1b --> Subreport 1
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Main Report Goup Header #1c --> Subreport 2
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Main Report Froup Header #1d --> Subreport 3
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6

Thank you for your reply and sorry for my complicated explanations. The report has confidential information, so I replaced to some fake data but I believe you can still see what I am trying to do..
Main Report
Subreport 2
Output1
Output2: the following page
     --> more rows are printed..
We have two problems;
1. The column header in Output2 is supposed to be pronted right below the last row in Output2, however, a page break is automatically inserted. But even in the same output document, it works for some group when it has a few rows..
2. Since Crystal Reports prints more rows in one page than MS Excel does, Column header is not be printed at the top of the page.
I tried the way you advised me but it did not work..

Similar Messages

  • PDF Output - Include headers and footers?

    Hi,
    When I generate a PDF of my web help, I was hoping that it would include the headers and footers that are on my master pages, but it doesn't. I've poked around in the settings, but can't seem to find a way to make this happen. There's no conditional build tag on the header and footer.
    Does anyone know how to specify this?
    Thanks!

    Hi there
    You might start by reviewing the link below:
    Click here
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Suppressing headers and footers in PDFs made from HTML files

    When I convert a HTML file to PDF with Acrobat 9 Standard, the PDF contains a footer (file path) and header (file name).  I don't want these to appear in my PDF.  I have disabled headers and footers in MSIE 8, but that has no effect.  I can't deleted these objects from within Acrobat, unless I edit each page with the text touch up tool.  Is there a way to suppress the header/footer?  The subject HTML files came from another system.  Thanks.

    Thanks, Bernd, but where are these settings?  While I'm writing, is there a setting to make an html file fit on one page in Acrobat?

  • Problems Aligning Text in Headers and Footers

    I have tried to add headers and footers to documents and the  alignment is wrong.  The center footer/header should be center-aligned  and the right header/footer should be right-aligned.  Unfortunately,  they are both left-aligned.
    The preview shows the headers and footers aligned correctly, but when  the headers/footers are inserted in the document, the alignment reverts  to left aligned, although it is centered and on the right side of the  page, as appropriate.
    This is not a problem in Acrobat 7.
    Please advise if this is a bug and is awaiting an update, or if there is  something that I need to do to fix this problem.
    This is a screen shot of the preview windowindicating the proper alignment as indicated in the ovals:
    Here is the actual document once the header and footer are added.  Notice how the alignment switches to flush left:
    Any guidance is appreciated.
    Thanks.
    - James

    Nope.  The good folks at Adobe have neither addressed this issue (and I have
    heard from others that it is a problem for them as well) nor have they been
    very good about maintaining my account to be able to log in and follow up on
    it.
    The truth of the matter is that it appears to be a glitch in some, but not
    all, versions of this product and clearly it is not a big enough problem for
    them to want to fix it.
    I wind up using Acrobat 7 when I need properly formatted headers and footers
    or ‹ and this ought to get the attention of the folks at Adobe and maybe
    prompt someone (anyone!) to take a look and fix this glitch ‹ you should
    check out PDFPen.  It does much of what Adobe can do including headers and
    footers.
    If I didn't already have Acrobat 7 (and 8 and now 9), I would ditch Acrobat
    and just use Preview or PDFPen.
    - James
    From:  superfluities1 <[email protected]>
    Reply-To:  <[email protected]>
    Date:  Tue, 04 Jan 2011 12:11:19 -0700
    To:  "James A. Sarna, Esq." <[email protected]>
    Subject:  Problems Aligning Text in Headers and Footers
    Anybody ever solve this problem? I just started using(trying too, that is)
    Acrobat Pro for writing letters and starting at the top I ran right into
    this problem. Seems like a deal killer.

  • How to know how many equipments can be produced?

    Hello friends,
    One equipment is having bill of material.  How to know how many equipments can be made with the stores stock? How to know for making min. no. of materials reqd for making optimum no. of equipments?
    bye,
    srinivas.

    Hi,
    Please have a look at the Rules of Engagement before posting to these forums. The link is here:
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Once you have read the above, please provide the necessary information.
    Regards,
    Amit

  • How do I Prevent Headers and Footers in Acrobat 8?

    Hello.
    With Acrobat 8, how do I prevent headers and footers, such as the footer below, from appearing?
    (I'm not even sure if these are actually headers and footers, or something else. If they're something else, I don't know what they are called.)
    I'm creating the files by right-clicking on various .HTM files, and selecting Convert to Adobe PDF in the context menu.
    Thank you! Jd
    file:///C|/WEB%20SITE%20April%202,%202008/vinyl/5tracks.htm (5 of 5) [4/2/2008 12:24:01 PM]
    System Information:
    Acrobat 8
    HP Pavilion d4790y (dual core)
    Windows Vista Home Premium
    2 GB RAM
    300 GB hard drive
    Two 500 GB external hard drives

    I think they are in edit preferences also, under the convert to PDF. I am not sure this is the same preference set.

  • How to put headers and footers in web analysis

    Hi All,
    Can anyone of you please let me know how to put headers and footers in web analysis...
    Thanks & Regards
    Ambica Atluri

    Hi Anu,
    I have already gone through the document. In that i dint find anything related to headers and footers.Only thing that is available is sorting the dimension headers.
    Please let me know if you have any other info regarding this.
    Thanks & Regards
    Ambica Atluri

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

  • How do I use Paged Media styles in css3 ( headers and footers ) ?

    I need to make printer friendly web pages, with neatly styled Page Headers and Footers.
    == This happened ==
    Not sure how often
    == Designing Style Sheets for Printer

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    [http://forums.mozillazine.org/viewforum.php?f=25]
    You'll need to register and login to be able to post in that forum.

  • I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    Mail and Address book

  • How do I change headers and footers in one single document in Pages?

    How do I change headers and footers in one single document in Pages? I would appreciate any help as this seems to be quite frustrating. Thanks so much!!

    Why are you not sure whether you have Mavericks or not?
    And what version of Pages are you talking about?
    Insert a Section Break and uncheck the copies previous option.
    All the Headers and Footers are the same within a Section.
    Peter

  • How do I do headers and footers in a pages document

    How do I change headers and footers in a pages document.  New user and no help from Apple on software questions. 
    Jeanne

    What version of Pages?
    What version of OSX?
    What have you tried?
    Have you tried just clicking in the Header/Footer and tyoing?
    Peter

  • How to know whether database(oracle) is up and running at OS level

    how to know whether database(oracle) is up and running at OS level...!!!

    depends on the O/S you are using, Unix or Windows? I would use Korn shell script to monitor the Oracle background process and scripts to check of Oracle is accepting connections.
    This UNIX command will show the number of processes for your instance:
    ps -ef|grep $ORACLE_SID|grep -v grep|grep -v ora_|wc u2013l
    In Windows I would look into services.msc

  • How to know the process chain start time and end time

    Hi Experts,
                   How to know the process chain start time  and end time .
    Thanks in advance
    Regards
    Gutti
    Edited by: guttireddy on Feb 23, 2012 11:30 PM

    Hi Reddy,
    You may find the run time of a PC using below steps.
    1. Call SE38 > /SSA/BWT > Execute  > Enter your PC , choose the date and time > Execute. Here Run-time of a PC is displayed. (or)
    2. Call RSPC1 > Enter your PC > Execute > Goto Log view > Right click on the start Variant > Displaying Messages > Note down the start time in Chain Tab. Now Right click on the last Process type of the PC > Displaying Messages > Note down the End time in Chain Tab. The Difference b/w start time and end time gives the Run-time of your PC.
    Hope this helps.
    Regards
    Sai

  • HOW TO KNOW HOW OLD IS THE PHONE

    How to know how old is the iphone

    Plug the SN in here:
    http://www.chipmunk.nl/klantenservice/applemodel.html
    This will tell you when your phone was made.

Maybe you are looking for

  • I upgraded Pages to the last version (v.5): how can I get to the previous one?

    I have recently upgraded my OS to Mavericks and all the iWork applications to the new versions, including Pages. I DO NOT like Pages v.5 (the one with the yellow written page icon) and I prefer Pages version 4 (the one with the dark ink bottle icon)

  • How to generate a pdf file using javascript?

    I would like to generate a pdf file having images in it using javascript. I tried jsPDF but getting some exceptions like Uncaught ReferenceError: pageWidth is not defined, fail to load pdf document Could anyone show me some pointers? Thank You Rahul

  • Alarming bug in AIR SDK 4.0.0.1390, -useLegacyAOT no

    I've uploaded small testcase which does some simple testing of equivalence of fractions (by parsing Numbers, Strings, etc).  The testcase SWF passes when packaged without -useLegacyAOT no, but fails when using the new halfmoon compiler.  I've filed t

  • Snow Leopard 10.6.1 & RSS Feeds

    Since upgrading to Snow Leopard, every RSS feed I delete returns after emptying the trash. Does it make more sense for me to disable the feature until this is fixed? Or does anyone know of a fix? I haven't found one thus far. Any comments are greatly

  • Input-Query New Rows

    Hi, I have created an input query, when I use this query  in the WAD, I'm able to modify key figures but I'm not able to add new rows I have a message. "No New rows or column added because not all characteristic have a key cell. Thanks to give me som