Formula in section

Hello I am with the following problem:
I have a query that has 2 sections, need to create a formula that consider the first section and disregard the second section.
EX:
section 1
section 2
report (formula must comply with the first section and ignore the 2)
end section2
end section1
Someone know how can I solve this problem?

Good Day,
It seems you have a section inside a section, have you tried using the IN SECTION keyword for your formula?
Regards,
John Vincent

Similar Messages

  • Section Expert - Suppress Formula

    Post Author: testing123
    CA Forum: Crystal Reports
    Has anyone had any experience with the suppression formulas for sections in the Section Expert?  My report has two groups : Project Status and a subgroup, Project Number. Each Project Number contains a value called Total. Each total is added to a variable, GroupTotal, until the end of the main group Project Status. At that point, the GroupTotal is shown, and then at the start of the next Project Status group the value is set to 0. However, if I add a group suppression formula for the Project Number where the Project Number group is supressed if GroupTotal = 0, it screws up, and displays information wrong. I can't pinpoint what exactly, but numbers from the previous group get passed to the next, and empty groups where GroupTotal = 0 also get displayed. How can I suppress a group which contains a running total of 0 without messing up the report?

    Post Author: palm
    CA Forum: Crystal Reports
    Here is a small suggestion , try this
    i am not into running totals much , so create a formula which gives the sum for a Particular Group (Project Number here) and place it GH or GF of Project Status
    Synatax: Formula: Test
    Sum(,{Project Number})  // give total of field for a particular Project Number
    Now you want suppress those groups where the SUM is ZERO , So in section expert  and  in supress write a condition       (@Test)=0
    It will suppress those groups where sum =0
    Try this and let me know!!!

  • Getting running total formula result at the beginning of the report

    Hello All,
    I am having an inquiry that if I can get a grand total in the report footer to the report header.
    The grand total is not a direct sum.  I am using three formulas
    the first formula:
    @reset Group Header
    whileprintingrecords;
    numbervar sumpct4;
    if not inrepeatedgroupheader then
    sumpct4 := 0;
    the second formula: Details section
    whileprintingrecords;
    numbervar sumpct4 := sumpct4 + {@Total_Market};   // {@Total_Market}; =  Amount+ Interest
    numbervar grtotal4 := grtotal4 + {@Total_Market};
    Group Footer
    whileprintingrecords;
    numbervar sumpct4;
    Report Footer
    whileprintingrecords;
    numbervar grtotal4;
    All that I need is to show the total which is in the report footer at the top of the page where I am having a summary.
    So, can you please help me.
    Thanks
    Edited by: maas maas on Sep 8, 2010 12:48 PM

    Hello my friend,
    I want this to be controlled in crystal.
    Is there is a way to get the grand total by using multiple formulas or any other way?
    Here is the structure of my report:
    Group Header 1: CCY
    Group Header 2:Type
    @reset Group Header
    whileprintingrecords;
    numbervar sumpct4;
    if not inrepeatedgroupheader then
    sumpct4 := 0;
    Group Header 3A: Deal No
    Group Header 3B: Deal No (subreport to get the {@amount} for each deal)
    I will pass the end_date from the main report to subreport and I will get the sum(amount) for each deal between date (1-1-2008) to end_date. The sum will be as a shared variable to the {@amount} formual in the main report.
    Details:
    Deal No, {@amount}, {@Price}, {@market}, {@Total_Market}
    {@Price}: if {table.price} = 0 then
    100
    else {table.price}
    {@market}: if Type <> "DEP" then
    ({@amount}*{@Price})/100
    else
    {@amount}
    {@Total_Market}:{@market}+ {@Price}
    Running formula to get Total_market: Details section
    whileprintingrecords;
    numbervar sumpct4 := sumpct4 + {@Total_Market};
    numbervar grtotal4 := grtotal4 + {@Total_Market};
    Group Footer 3B: Deal No
    Group Footer 3A: Deal No
    Group Footer 2:Type
    In this group I am placing a running total formula:
    whileprintingrecords;
    numbervar sumpct4;
    Group Footer 1: CCY
    Report Footer:
    @grand_Total
    whileprintingrecords;
    numbervar grtotal4;
    Now, i want this @grand_total formula result to be shown in Group Header 1: CCY.
    I tried to insert a subreport at the beginning which it is a copy of the main report, but I did not get the coorec t result because I am getting the {@amount} from a subreport and in crystal I can't insert a subreport in an existing subreport.

  • 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?

  • Formula HELP... Pls

    Post Author: lantis
    CA Forum: Formula
    I want to create a report base on my data below.  I have a column VLWP and SLWP. What is the formula used if IDNO 100 has no SLWP only VLWP. When i drag the fireld sumofleave_days it displays the data on both LeaveCode. 
    Here's my data from Table &#91;Leave&#93;:
    IDNO    LEAVECODE   SUMOFLEAVE_DAYS
    100       VLWP                         4
    101       SLWP                         2

    Post Author: V361
    CA Forum: Formula
    Not sure I understand the question, you could suppress the section based on the IDNO, look at the suppress formula in section expert, and suppress if     IDNO = 101
    Formula can be as simple as = 101

  • Issues with Exporting to Report Definition File

    Post Author: dcasper70
    CA Forum: Exporting
    We just notices a strange thing happening when exporting to a report definition file.  Hoping someone can explain it and/or offer us some kind of solution.  We're currently about 25 deep into an extensive documentation phase involving 500+ reports, and just noticed this issue.
    We assumed that ALL formulas that are being used in the report should be written out to the report definition file, either in section 4.0 (Formulas) or section 4.3 (Other Formulas).  We have now noticed that in most reports this is not occurring. 
    In fact, in almost all cases, the RDF section 4.0 is completely blank, and section 4.3 has only a small fraction of the formulas in the report!!!
    Is there some export option that we haven't found?  Some setting somewhere we need to look into???  Does any detailed documentation on this type of exporting exist that someone can point us to?
    Most search results that we've come across have implied or directly stated that ALL formulas/parameters/objects/etc will be exported.  This clearly is not the case in our experience. 
    Someone please show me that I'm just missing something simple!!!!!
    Running Crystal 10.0.0.533,
    Database type = Oracle Server
    Table Type = Stored Procedure

    Post Author: JohnLouis
    CA Forum: Exporting
    Most likely, that is how it works, check out this article
    http://www.bridgebuilder.com/bb_documents/newsletters/2003/08-03%20newsletter.pdf
    Only formulas that are inserted directly in the report are reported, not referenced ones, or those contained within a text box. I have found ReportMiner, CrystalKleen and .rpt Inspector Professional Suite, but have not used any of them. If you try these, let me know if it works for what you are doing, I may need to do the same soon.

  • Unused stored procedure parameters marked with a check mark in crystal reports

    Post Author: epowers0213
    CA Forum: General
    Hello,
    I have some Crystal Reports that currently use stored procedures as their datasources (I am in the process of modifying them to use datasets instead).  Some of the original reports have check marks next to stored procedure parameters which I cannot find as being used anywhere in the report.  Is this a legitimate possibility? (Some of them do not have check marks, however, so it is not consistent.)
    More Info:  I am using Crystal Reports within Visual Studio 2005.  I have looked through each report in every way I can think of to find if a parameter field is being used anywhere - I have checked all formula fields, the formatting formulas for sections and individual fields, the record and group selection formulas and the grouping and sorting experts, along with any subreports (although some of them have no subreports).
    (I have read on other forums that exporting a report definition file is another way to look for where fields or parameters are being used, but this does not appear possible within Visual Studio 2005.)
    In some cases, I have gone ahead and replaced the stored procedure datasource location with a dataset (generated based on the same stored procedure).  When I do this, Crystal automatically deletes the stored procedure parameters from the report, and I have still been able to run the modified report successfully - at least it looks ok and nothing is complaining.  So is it possible that these parameters were actually not being used anywhere on the report although they were marked with a check mark?
    Any help would be greatly appreciated!  I want to make sure I am not changing the function of these reports somehow without knowing it...
    Thank you!

    Are you referencing another database that Crystal can't see? Also, you can try and copy the SQL to a command object in Crystal to see if it behaves differently there.

  • Exporting Report definitions/source codes

    Hi gyus,
    I'm looking for a software or tool or an algorithm which I could use to export all the Report definitions and search in them. Especially I mean source codes of formulas and section-conditions. My "heritage" is a huge chaotic report and often I need to look for a specific thing which may be contained in any formula source code, any suppress condition, anywhere...
    I know of .rpt Inspector, which is unfortunately too expensive for me ($400).
    I know of the CR XI ability to export Report definitions to .txt files. But they aren't complete since they contain only condition source codes (those ones you type in via section expert), and I miss the formula source codes.
    Thank you so much in advance for any help or tip
    Regards
    Martin F.

    Hi, I do know about this feature. unfortunately, the resulting exported file doesn't contain complete report definition info. Especially formulas' source codes. So I can't search (CTRL+F) within these parts of source code.

  • Column header in all the pages

    Hi all,
    I have designed the Account Statement report for banking application. In this report i want to show all the credit and depit history for the particular account. So that i have grouped this report based on account number.
    In this report i am not using report header and column header for showing the report title and coulmn name. Because i want to show the report title and column header for all the selected accounts. So that i have devided the account number group into two part(header a and header b) and in the first part(header a) i am showing the report title(Deposit Account Statement) and in the second part(header b) is showing the column header(such as txn date, txn description, debit amount and etc...).
    In this design i want to show the column header(header b) alone for all the pages.
    Please help me for this issue.

    Hi,
    If u want to display each item of group header on each page,then check the option repeat group header on each page in group expert.
    And if u want display only one part of group header in each page, then u may create a formula in section expert for suppress and write if groupNumber>1.
    I hope this will work.
    Regards,
    Misra P.

  • Can I create a dynamic dictionary object in WF using SPD?

    I am creating a list of task in a loop. I need to store the taskIDs in a dictionary object. How can I do this?
    The loop looks like:
    Loop N times-->Create a task-->Add Task1-TaskID to Dictionary object-->Loop
    Example of how the dictionary object should look like:
    Task1-->TaskID1
    Task2-->TaskID2
    The problem that I am facing is that the dictionary object does not allow a variable for name. Would appreciate any thoughts/workarounds.
    Thanks
    Farida

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • Can I create a report at WAAS central manager based on server IP address

    Hi,
    I have two distinct applications running at port 8080 for which I would like to have separated performance reports at Central Manager. Is there any mean to do that by using server ip address for example? If so how? Do I need to change policy? If so is that the only way?
    Thanks
    Wilhelm

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • Can I create a dynamic report in the server without using a report template

    Hi,
    My company just bought a Crystal Report Server XI and it didn't have a report designer.
    I can't start creating report without the designer.
    The question is can  I generate a dynamic report at runtime (on the crystal report server ) without using report template?
    My project requirement is to use a crystal report server to manage the reports.
    Some client web application will just access this report server.
    I  hope the experts can provide me some guidance.
    regards,
    Rulix
    Edited by: Rulix Batistil on Nov 3, 2008 8:08 AM

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • Colors in PDF

    I am "experimenting" a little with colors in a PDF file.
    In the file I create two squares. The first square is colored using DeviceCMYK.
    The second square has the same color as the first one, but using DeviceRGB as the colorspace.
    When converting from CMYK to RGB I use the conversion formulas from section 10.3.5 in the PDF-specification.
    But the two squares have quite different colors. Can somebody explain whats going on?
    The Pdf is give below. In the file DeviceRGB
    R: 0.29
    G: 0.97
    B: 0.14    
    should be the same as DeviceCMYK 
    C: 0.68 
    M: 0   
    Y: 0.83  
    K: 0.03
    (The file:)
    %PDF-1.5
    1 0 obj
    <<
    /Length 330
    >>
    stream
    q
    1 0 0 1 57.47015494031 84.170688341377 cm
    1 0 0 1 0 0 cm
    1 0 0 1 0 0 cm
    1 0 0 1 0 0 cm
    1 0 0 1 -57.47015494031 -84.170688341377 cm
    /DeviceCMYK CS
    1 1 1 1 SCN
    /DeviceRGB  cs
    0.29 0.97 0.14  scn
    0.2743205486411 w
    2.743205486411 M
    0 J
    0 j
    40.873761747523 68.397256794514 33.192786385573 31.546863093726 re
    h
    B
    Q
    endstream
    endobj
    2 0 obj
    <<
    /Length 329
    >>
    stream
    q
    1 0 0 1 97.658115316231 68.260096520193 cm
    1 0 0 1 0 0 cm
    1 0 0 1 0 0 cm
    1 0 0 1 0 0 cm
    1 0 0 1 -97.658115316231 -68.260096520193 cm
    /DeviceCMYK CS
    1 1 1 1 SCN
    /DeviceCMYK cs
    0.68 0 0.83 0.03 scn
    0.2743205486411 w
    2.743205486411 M
    0 J
    0 j
    80.1016002032 56.327152654305 35.11303022606 23.865887731775 re
    h
    B
    Q
    endstream
    endobj
    3 0 obj
    <<
    /Type /Page
    /Parent 4 0 R
    /Resources <<
    /Font <<>>
    /XObject <<>>
    >>
    /MediaBox [0 0 255.11811023622 141.73228346457]
    /Contents [1 0 R 2 0 R]
    >>
    endobj
    4 0 obj
    <<
    /Type /Pages
    /Kids [3 0 R]
    /Count 1
    >>
    5 0 obj
    <<
    /Type /Catalog
    /Pages 4 0 R
    >>
    endobj
    xref
    0 6
    0000000000 65535 f
    0000000010 00000 n
    0000000397 00000 n
    0000000783 00000 n
    0000000956 00000 n
    0000001012 00000 n
    trailer
    <<
    /Size 6
    /Root 5 0 R
    >>
    startxref
    1067
    %%EOF

    I think I have a good understanding of color management, and I am very aware that different devices may have very different gamuts and may also give very different colors for the same input device colors.
    But, again, here I am talking about pure device colors, and thats why there should be no differnece in defining a color in (device) CMYK vs (device) RGB. In device space the colors are of course device dependent, but the same color should still come out the same on the same device (in this case, my screen).  The two are still exactly the same color, only "opposite" (subtractive vs. additive), and as long as we are in device space there is no device information (like ICC-profiles) involved. Its like defining weight in Pounds or Kilos; there is a direct conversion between the two.
    Thats why I wonder why the colors come out differenly in the PDF when I view it in a PDF-reader, like for example Acrobat.
    I was thinking that maybe a PDF reader assumes that a Device CMYK will be reproduced in print and "simulates" a print by using a standard CMYK outputprofile (like for example Euroscale Uncoated) while it assumes that a Device RGB will be reproduced on a screen and therefore uses a standard RGB outputprofile (like for example AdobeRGB or sRGB).
    Again, the thing is that pure colors in DEVICE space look different on the same device. Is it the PDF-reader that is "simultaing" paperprints for CMYK-colors? ...or is there something else here that I am missing??
    (EDIT:...the CMYK color is of course a lot less bright than the RGB in my PDF, and thats why I thought maybe the smaller gamut of a printer on matt paper is simulated, creating a lot more "dull" color...)

  • Spanning simple chart across pages

    Hi,
    I want to clean up some formatting on a report with a simple chart plotting a formula result against customer names.
    The first chart contains the top 15 customers sorted top down using the Top N =15 option in chart group sort.
    However, how can I display the next 15 customers on the second page?
    Is it easier to do this via subreports? or if there a function that I can use?
    thanks, Eddie

    thanks Panda. Just to clarify.
    I have about 100 customer ids, sorted against a rating value high to low.
    I put this in the section expert as a formula for next page after for the section.
    nothing seemed to happen.
    Did I place formula in correct location? I couldn't find an appropriate location in Charting options - I haven't got my head around why I would put this formula in section expert yet and not mention the chart.
    I am running crystal xi rel2.
    thanks, Eddie

  • Problem in Summary Calculating

    Post Author: CRA
    CA Forum: General
    Dear All,
    I m using Crystal reports 11 and i have a problem basicaly i m using a group like wise employee and it calculate all the employees but the requirement is that only those employees shows which having the salary 0 to 5000 and this section is correctly working but wen its calculating the total summry in footer then it calculate all the employees data(figures). But i just need that only those values or employees figures which in range of 0 to 5000. Only the problem in summary.
    Any suggestion or clues highly appreciated.

    Post Author: CRA
    CA Forum: General
    Thnx Ido..... i used condition in formula and it works.
    well i did dis. but now the another prob.  where employee's salary is ZERO. and in my report m using 3 groups like-wise
    Group Head:   CLASS1   -it contains only the class description like city names -
    Group Head:   CLASS2   -it contains only the class description like department names like-wise Senior Executive,Staff & Executive -
    Group Head:   Employee   -it contains  the employee name, designation, salary & etc description like -
    dis section is suppress //Group Footer:   Employee   -it contains  the employee name, designation, salary & etc description like -
    Group Footer:   CLASS2   -In this section we calculate the employee's salary & profit etc class-wise(means which employees in this class only dat will b shown) Senior Executive,Staff & Executive - (dis section is also suppres through using the formula in section expert salary=0 then supress and it works)
    Group Footer:   CLASS1   -In this section it calculate all the employee's calculatin Head wise means city-wise (Employees salary etc.)- (dis section is also suppres through using the formula in section expert salary=0 then supress and it works)
    But in Class Head description dats still shown the main prob is dis.
            Now the problem is when it calculate the salary when condition meets like i described in previous section through the running total. where got the zero that shows the both class description. But i didn't want dis description if the employees are not  in dat class. It means dat If there is no EMPLOYEE in the class then dont show the class description and dat descriptin iz comming from the field.
    Any suggestion or any help regarding dis.
    Thnx in advance.

Maybe you are looking for

  • How to make the date format in ipod the same as in itunes?

    When I look at my podcasts in itunes, the dates come up as dd/mm/yyyy (which is correct), however, when I look at my podcasts on the ipod, the date comes up as mm/dd, which is very confusing. I cannot figure out how to make it so that the date format

  • Radio button not visble

    Within Captivate 7, I'm able to view radio buttons contained within quizzes from Captivate; however, once the file is published and hosted on the LMS the radio buttons disappear. There are no objects on the slide and the master slide background is be

  • Beta user on one computer but not on another

    I have Beta version 16.0 on one computer on one computer but on another computer its regular version 15.0.1. Bookmarks are not synching. How do i get both versions the same?

  • No Calendar after 4.2 Upgrade

    After upgrading to 4.2 I lost all calendars except the last 2 months. No backup was created and only last 2 months saved on MobileMe. Warning! Warning! Created a backup "offline" before upgrading to 4.2. The upgrade totally screed up my business. I r

  • Hiding password in unix

    Hi, Could anyone tell me what is the unix command that is used for hiding the password's which is similar to following oracle code. =============================================== accept uname prompt 'Enter username====>' accept password prompt 'Ente