Merging Page Headers Section and Details Section

Post Author: vikas777
CA Forum: .NET
Hello,
It is for an Invoice Report. I am having a list of values which are directly fetched from a table. There is a column named 'Type' which is having values 'Gas' and 'Water'. The table is having another column named 'values' which will list all values for the Type 'Gas' and 'Water'.Based on the 'Type' we will be displaying 'values' in the detail section. Gas values will be displayed in Details section A and water values will be displayed in Details Section B.
Q1: My requirement is to display like this
Page header for GasDetails section A
Page header for WaterDetails section B
Page header for ElectrictyDetails section c
Q2: I am using the same SProc for fetching values for Gas and Water. (At present I am having values only for type Gas. Just assume that there are five values for Gas. So the SProc returns a total of five datas and these values are displaying correctly. But I am getting five 0.00 values for the type Water.
Here is the sample of code in the formula section used code used:
If Isnull({RptInvoiceSub.Type}) <> True thenIF {RptInvoiceSub.Type} LIKE 'Water' THEN{RptInvoiceSub.value}
Product: Crystal Reports for .NET Framework 2.0
Version: 10.2.3600.0
Operating System(s): Win 2000 Professional
Database(s): SQL Server 2005
Please reply if any part seems to be unclear.
Thanks in advance for any help you can offer.

Post Author: Argan
CA Forum: .NET
This is a report design question so you may want to move it there to get answers.

Similar Messages

  • Need to skip page break between header and Detail sections

    Hello,
    I am combining two reports in one report (one in header section and another report in the body section). when this report is run, there's a page break between these two sections. Is it possible to eliminate it? Ideally I would like the detail section to start as soon as the header section of the report is completed in the same page instead of starting (detail section report) in a new page.
    Any help is highly appreciated. Thanks,
    Sundar

    I'd put them into one section to control the breaks.

  • Book numbering properties window – Section and Sub-section grayed out

    In FM 12, I have a book composed of one front-matter file and 9 chapter files. The chapters (1-9) auto-numbered without any problems and pagination is correct. I want to add section and subsection numbers. Within each file I added autonumber format tags to the headers used specifically for section and subsection titles on the first chapter page and autonumber format tags within the body of the chapters. The autonumber tags are –
    <$chapnum>.<$sectionnum>\t
    <$chapnum>.<$sectionnum>.<$subsectionnum>\t
    for paragraph tags Heading 2 and Heading 3, respectfully.
    When I select numbering in the book file window and click on either the Section and Sub-section tab, the windows are grayed out. I know I'm missing something obvious. I've gone through help files, manuals and tutorials for hours and can't find what I need. Any advice about where I can look to sort this out?
    Thank you.

    Almost, but not quite. FM books (now) have the ability to specify internal Folders and Groups. You can then assign (i.e. move) the relevant FM files into these structures to create more of a hierarchical structure in the book - see: Adobe FrameMaker 12 * About books and also see: Numbering in Hierarchical Books « TechComm Central by Adobe
    Once the file is assigned to a folder or sub-folder, then the section and subsection numbering properties become available for that file.

  • Group By and Detail section should be at same page

    Hi
    I am developing a Crystal Report in Visual Studio 2005. My report have one Group Section and two detail  ( detail a, detail b) sections. In group section I am displaying Test Categories and in Detail Section (detail a) I am displaying Test Result for particular Test Categories, in detail (detail b) section I am conditionally displaying a sub report against a particular testid from detail (a) section.
    I want to display all test results against a test category on the same page. If this fit on the page it should display otherwise category name and all its test should be display on next page.
    Thanks in advance

    Qasim not sure if you have tried this already,
    right click on the group (that blue bar) and click Change Group-->Options->Keep Group together.
    This will keep them together and if it exceeds one page it will start from the new one.
    Hope this helps
    Regards
    Jehanzeb

  • How to count records in a page which are in detail section

    Hi
    Is there a option to count records in detail section and so that based on that can apply a formula.

    Hi
    can i place the below two formulas in section experpt ?
    my report is like
    gh#1 
    details-----which contains transactions related to above group for a country
    group footer#1contains line '--
    if for india there are 3 records in the same page there can be 2 or 3 records in detail section. like that a page can contain more than one country. if number of records are more and coming in next page then the whole section should be moved to new page.
    that is my req. can u suggest accordingly.....
    i want to count the number of records in detais which will vary also how can i put formula when they are going to next page?

  • OC 3.0 SP1 Multiple incumbents data merged in Pos View and Details Panel

    In OrgChart 3.0 SP1 we have some instances where there are multiple holders for a position (e.g. 2 people job sharing at 50% each).  For all employees the requirement is to display additional data for Employee Group/Subgroup (text), Payscale (Basic Pay IT0008) as well as the standard position/org unit information.  For multiple incumbents there are some negative impacts to the data display and any suggestions on how to resolve these issues would be very welcome.
    1. Details Panel
    If additional fields and data elements are added using the Admin Console, for multiple incumbents the data for each employee displays without distinguishing clearly which employee the data belongs to.  So the first employee's name appears, followed by all data for all employees below.
    Alternative approach was to try to display the data through the Employee Profile (as separate Profile tabs appear for each employee) by editing the XML files.  However, the Profile seems to regenerate in such a way that the additional data for both employees appears in the first employee tab and the 2nd employee tab only contains the basic standard position-org unit information.
    What is the best way to distinguish each set of data for an employee in the Details Panel?
    2.  Position Box View
    In the Position Standard View the box shows "Multiple Incumbents" instead of the specific employee names (although these appear if you mouse over).  To list the names separately within the box, in a previous post we had the suggestion to modify the template file.  However, on closer investigation there appear to be approx 500 instances in 40 files for the relevant views that may need modification.
    Is there a more targeted way to do this?
    I would be very interested to know how others have configured / dealt with the data for multiple incumbents in their org charts and details panels.
    Thanks
    Clementine

    Hi Clementine,
    I hope all is well down under
    1. This is a known bug that is resolved in SP2. If you cannot upgrade to SP2 you can delta-merge the changes into SP1, although this is not so easy for the unexperienced. OSS might be able to provide some comprehensive instructions, but I would advise to upgrade to SP2 if possible (although, again, if you've already configured or customized any part of the Position or Employee details then you need to delta-merge the changes anyway).
    2. This is standard functionality in the Organization Structure with linked Positions. The alternative is to use the Organization Structure that has linked Employees instead. This will display the structure as you are expecting it.
    Let us know if you need more assistance.
    Best regards,
    Luke

  • Seperating the detail sections to start a new page

    I'm using CR XI and I have the main report set up. I want to create a second section containing a seperate set of detail lines. When I insert the section below I now get detail a and detail b. When I do the preview the two sections are combined. I've added the subreport to detail b and tried to find some way to seperate them but nothing appears to say specificially how to do it.
    I just want to have the two details sections seperated and start on seperate pages.
    It's doing this:
      customer id   customer name  customer etc.
      supplier id  supplier name supplier etc.
      customer id   customer name  customer etc.
      supplier id  supplier name supplier etc.
    I want it do this:
    Main Report
      customer id   customer name  customer etc.
    Sub Report
      supplier id  supplier name supplier etc.
    thanks...

    I'm afraid that didn't solve my issue.  I already have information that needs to be in the footer.
    And I'm looking at a report done by someone else and they have 3 seperate detail sections and each section starts on a seperate page, but I can't find what was done to make this happen.  Unfortunately, that person is no longer available here.
    My thinking is that there is a setting somewhere that will allow this type of seperation.

  • Unrelated data in master detail sections of a custom BIP  report deployed in R12 EBS

    We have a custom Master Detail BIP report generated by calling XDO APIs from a custom Java concurrent program (common_report_attachment) . This Java concurrent program is called from another custom concurrent program (po_validation) that processes a batch of POs in a single concurrent request.
    PO_Validation Program (processes a batch of POs per request) -> Java Concurrent Program -> BI Publisher Report APIs
    BIP report generates data for master detail sections based on two sql queries (given below) that have 'where' clause based on a common external parameter "P_TRX_HDR_ID".
    NOTE: No explicit data link is used NOR an output column of parent query is used in the where clause of detail query as bind parameter.
    - <dataTemplate name="NAPPB2BPORPT" description="Data Template for B2B PO Report" version="1.0">
    - <properties>
      <property name="xml_tag_case" value="upper" />
      <property name="db_fetch_size" value="200" />
      <property name="scalable_mode" value="on" />
      </properties>
    - <parameters>
      <parameter name="P_TRX_HDR_ID" dataType="number" />
      </parameters>
    - <dataQuery>
    - <sqlStatement name="Q_PO_HDR">
    - <![CDATA[
    SELECT poh.po_number                                     PO_NUMBER
              , poh.quote_number                             QUOTE_NUMBER
              ---- other columns -----
             FROM nappcust.napp_o2i_po_headers poh
                ,napp_aso_quote_headers_v naqv
               WHERE 1=1
               AND naqv.quote_number=poh.quote_number
               AND poh.header_id = :P_TRX_HDR_ID
      ]]>
      </sqlStatement>
    - <sqlStatement name="Q_LINES">
    - <![CDATA[
    SELECT  pol.item                                            ITEM
          , pol.partner_part_number                             PARTNER_PART_NUMBER
          -- other columns --
       FROM napp_o2i_po_lines pol
       , napp_o2i_po_headers poh
       , aso_quote_lines_all aqla
       , mtl_system_items_b msib
    WHERE 1=1
      AND poh.header_id               = pol.header_id
      AND pol.header_id               = :P_TRX_HDR_ID
      AND aqla.quote_header_id        = poh.QUOTE_HEADER_ID
      AND msib.inventory_item_id      = aqla.inventory_item_id
      AND msib.organization_id        = aqla.organization_id
      AND (pol.quote_line_number       = aqla.quote_line_id
           OR pol.quote_line_number    = aqla.quote_line_id||1)
      ]]>
      -- Added for the defect 13954
      </sqlStatement>
      </dataQuery>
    - <dataStructure>
    - <group name="G_PO_HDR" source="Q_PO_HDR">
      <element name="PO_NUMBER" value="PO_NUMBER" />
      <element name="QUOTE_NUMBER" value="QUOTE_NUMBER" />
      --- mappings for other columns of "Q_PO_HDR"
      - <group name="G_LINES" source="Q_LINES">
      <element name="ITEM" value="ITEM" />
      <element name="PARTNER_PART_NUMBER" value="PARTNER_PART_NUMBER" />
        --- mappings for other columns of "Q_LINES"
      </group>
      </group>
      </dataStructure>
      </dataTemplate>
    Issue: Sometimes when the parent concurrent request runs for a batch with multiple POs the report generated for the last PO has inconsistent data in the master and detail sections. To elaborate, the detail section is having correct data pertaining to the PO identified by the parameter "P_TRX_HDR_ID". However, the master section is having data pertaining to the previous PO processed from the same batch.
    This issue is not occurring consistently and is not reproducible at will. I
    'm suspecting this could be because of not having data link between the queries but confirm from someone who has experienced this issue.
    Regards,
    Srinath

    is there any way from the page, can we pass the some values, which can identify the page level data?
    if so pass the parameter to BIP report query.

  • Master and detail in the same page

    db11xe , apex 4.0 , firefox 24 ,
    hi all ,
    i am trying to insert the master and detail data in one step in the same page :
    i have two tables (clients) and (tests_administered)
    the client table's region contains theses items
    client_id
    client_name
    the other table's region contains these columns -- the tabular region
    row selector
    test_admin_id -- pk,  hidden
    client_id          -- hidden , this is the one i should populate with values
    and more columns
    i've done this :
    1- removed the condition of the tabular region .
    2- Added the request CREATE to the list in condition of the APPLYMRU process -- or :request like ('CREATE')
    3- Added new process with following code : -- with sequence before the applymru process and after process row of clients process
    for i in 1..apex_application.g_f02.count
    loop
    apex_application.g_f02(i) := :p2_client_id ;
    end loop ;
    but nothing happened . why ? what did i miss ?
    thanks

    Hi,
    Create a Master Detail Form through the APEX Wizard 
    Make sure you choose the Primary Keys for the Master Detail as one of your Column and not the ROW ID.
    Selecting an existing Sequence for the Primary Key is preferred.
    Select the option the where your Master and Detail appears in the same page.
    Initially when you run the page your master and detail will not appear at the same time in the page when your Master Detail Form is in the entry form mode. For this you have to go to your Tabular Form(Detail Form) region, and below you will have to remove the Condition for the display of your Tabular form and set it to “No Condition”.
    Now when you run the page both the Master and Detail form will appear together in the create mode but you will not be able to insert or create both master and detail records at the same time when u click the create button. For this the following needs to be done: You need to create a PL SQL Tabular Form process :
    Let's say your master form is based on DEPT and your detail tabular form is based on EMP. Make sure the following things are configured:
    The DEPT insert/update DML process runs before the new tabular form PLSQL process. (ie) the new PL SQL Tabular Form Process that you create should be inbetween Automatic Row Processing(DML) and Multi Row Update Process , so create the new Tabular Form Pl SQL process with a sequence number inbetween these two Processes.
    Make sure you choose Tabular form while creating this PL SQL process.
    The new tabular form PL/SQL process executes the following as the source
       :DEPTNO := :P1_DEPTNO;
    Where DEPTNO is the Foreign Key column in the Tabular Form that links the Primary Key Item P1_DEPTNO of the Master Form.
    Finally this new PL SQL process conditionally runs when DEPTNO is null, so you need to add the following condition to the process:
    The final step to accomplish in creating both the Master and Detail records at the same time is to make a change in the condition of the Multi Row Update Process. :request in ('SAVE','CREATE') or :request like 'GET_NEXT%' or :request like 'GET_PREV%'
    -We make this change so that records get inserted into the Detail table when we click the ‘’Create” button.
    Now you can Run your page and create both the Master and Detail records at the same time.
    Thanks and Regards,
    Madonna

  • Blank space between Detail section and Page Footer - How to remove it ?

    below is the problem.
    We make  report as followspage header Section details
    Employee Information    
    Report Footer
    Page Footer                   
    Other Information
    whenever we run this crystal report it leaves space in between  after employee information (Detail Section) and before Page Footer.We don't know its a problem  of footer or any other else.
    When i preview and print out the reports
    it showing Detail section 10 Rows (which satisfying condition) and then Blank space and then at the bottom of page shows Page Footer (which contain 2 subreports).
    Let me know if you need aditional information on this.
    pls provide suggestions.

    Try with this
    1. Suppress any unused sections in both sureports and in the mainreport.
    2. Check all the fields fits the sections. Select all the fields in the section and give align top and make all the fields of same height and make it fit to the section.
    Hope this solves your problem.

  • Showing headers based on multi column details section

    Hi,
    I have a report which has a subreport listing a simple list of records from a table.
    The list of records is displayed using the "Format with Multiple Columns" option in Section Expert (2 columns). The printing direction is set to "Down then Across".
    How can I set up the report so that it suppresses the header for the 2nd column is there if no data there?
    Thanks

    Hi Santhosh,
    I used formulas in a similar concept to what Abhilash mentioned above (*you will need to know how many rows fit on one page).
    Create a formula to put in the details section (where your headers are) that keeps a track of the page, column and row number (which resets the variables accordingly)..
    shared numbervar rowCount;
    shared numbervar pageNum;
    shared numbervar columnNum;
    if pageNum <> pagenumber then (
    // now a new page so reset everything..
        rowCount := 0;
        columnNum := 1;
        pageNum := pagenumber;
    if rowCount = 30 then (
    // new column so reset the row counter
        rowCount := 0;
        columnNum := columnNum + 1;
    rowcount := rowcount + 1;
    ..now use the rowCount variable to suppress the details header if its > 1.

  • How can I have a Pages document that is shared with me under my Pages section and not open it with the link?

    How can I have a Pages document that is shared with me under my Pages section and not open it with the link?

    Try this.
    Open the document and select and copy a few pages, say ten pages.
    Open a new blank document and paste the pages you copied into that.
    Save it with a new name.
    Work on those new pages to see if the problem has disappeared.
    If this helps, continue breaking up the large file in to smaller chunks and working on them
    You can of course later reverse the process and merge the files into one new one.
    This suggestion is based on my experiences with large Word files. Breaking it up in to smaller chunks does two things. First, if there is any corruption in the old file, the new copies might escape that. Second, the Mac is faster handling the smaller chunks.

  • Multiple sections, each section different first/next page headers

    Hi,
    Ï'm developing a PO (purchase order)-document.
    This document has 2 sections.
    First sections contains PO-documents. Second section contains PO-copies.
    First section has different header for first page and next pages for each seperate PO. So multiple PO's are printed and page 1 of each PO has different header than page 2 of same PO. This works fine.
    For the copies I added a new section which is basically the same as the first except the fact that the first page and next page headers for the PO-copies contain the word "DUPLICAAT".
    Section 1 still works fine.
    However in section 2 all pages of each PO, including the first page, get the next-page header. The first page of a PO in section 2 does NOT get the different first page header.
    Just to get it working I created a very simple rtf with 2 sections and 2 pages for each section. For each section I appointed a different header for the first page and the second page. The rtf contains only fixed text, no xml-tags. In MS-Word the rtf-template looks fine, each page has the expected header. I loaded any XML-file and viewed the PDF-output. Result: first page of section 2 has the next-page header for section 2 instead of the first-page header.
    Is this a bug or am I doing things in the wrong way ?
    I can upload the testing template if necessary.
    Thanks in advance,
    Jan Blok

    Any suggestions, anyone ?

  • Governer limit for inserting a Custom section in detail page of SOD

    HI,
    I want to insert multiple custom section in detail page of Siebel on demand objects.
    What is the governer limit for insertion of the Custom sections?
    Thanks
    Yash

    Hi Sean,
    I am sorry for your confusion. Yes, your understanding is correct.
    I tried to add manually and i got the result as 'There can be at most 25 custom web applets in a detail page'. Is this correct?
    Thanks
    Yash

  • Make details section as page header

    Hi ,
    I have a situation where I use the sections--- Details A, Details B and Details C. I used a Fake group header as page header for Details A. How could I make Details B section as a page header (for Details C section)without repeating on the same page and repeating once on each page.
    Any help please..
    Thanks.

    Create a formula like this
    @Initialize
    WhilePrintingRecords;
    numberVar i:=0;
    place this in page header and right click on the detail section b and go to section expert and write the condition for the suppress like this
    WhilePrintingRecords;
    numberVar i;
    i:=i+1;
    if i&lt;&gt;1 then true
    else
    false
    Regards,
    Raghavendra

Maybe you are looking for

  • Disable the pop-up message box "How would you like to open this file" to open pdf file??

    Hi, is there any way i can stop the pop-up box displaying to open pdf file in sharepoint document library? Right now whenever i am trying to open pdf file, asking "how would you like to open"  Read only or edit mode. currently MIME Type is setup but

  • Adding New Macs to ARD

    Hi Group! Lately we've been having trouble adding new Mac's on our network to ARD. 10.6.x and 10.5.8. The window for the admins user name and password drops down, but then immediately goes right back up. I've tried a gang of things to try and figure

  • At co11n in goods movement screen material not showing

    hi all,        when i m doing co11n n going to goods movement screen it not showing  material and its quantity though after the confirmation material deducted from its stock, plz help me in this matter

  • Muse crashing when i try to publish

    I'm on a Mac trying to re-publish a site as I have made changes. I recently updated Muse to CC 2014.2. The files saves and previews just fine, but when I try to publish it, it loads to 10% and then it quits. I have uninstalled, reinstalled, restarted

  • Please recommend a suitable 1GB Graphics card.

    Hi , I have a HP-Pavilion Desktop (P6040IN) 3GB RAM,500GB HDD, core2 duo @ 2.8. I wish to adda 1GB graphics card can you please suggest some models which will suit my system perfectly. This question was solved. View Solution.