Numbering To All Detail Sections

Hi,
Am developing a report in crystal report from visual studio.
I need a help.
In my report there are so many detail sections.
Example : Every record i divided into 5 parts.
One Record i divided into A,B,C,D and E
every part is in a new detail section.
Now What i need is
Record 1
1 A
2 B
3 C
4 D
5 E
Record 2
6 A
7 B
8 C
9 D
10 E
so on.....
like this i want a serial number beside every detailsection.

This is not too difficult.  What you'll do is group on whatever makes a record unique.  Then you'll create a couple of formulas:
{@InitRowCount}
NumberVar rowcount := 0;
Place this in the report header.
{@RowCount}
NumberVar rowcount := rowcount + 1;
In each of your details sections, place a text object where you want the row number to display.  Drag the {@RowCount} formula into it.  Then double click the text object to edit it, place your cursor after the formula and enter the letter of the section.
-Dell

Similar Messages

  • Edit box length size problem...at Detail Section.

    hi.
    Plz have a look on below image.
    This is my problem.
    in details section i put one edit box... like below..
    the data is comming from data base..
    Header 1
    but the size of the filed is more than the size of the Edit box..
    i all ready checked  can grow option in format field common properties.
    but horizontal line is not adjusting ....
    what should i do...

    Hi Srini,
    You can't place another object directly below an object that 'grows'.
    Create another section and move the line to this new section.
    -Abhilash

  • How to combine multiple Details section rows in my report

    Hello,
    I am currently creating a report which will display employee details, which includes first name, last name, home phone, cell phone and Email.
    I get my First Name and Last name from the "Employees" table but all other info is situated in the "CommunicationLinks" table.
    The tricky part which I am having issues with is the Home Phone, Cell Phone and Email are all under the same field in this table, the field is called "DisplayAs".
    These 2 tables are linked together by taking Employees.LinkID and linking it to CommunicationLinks.LinkIDParent, which are matching linkids.
    The only issue that I have, is for example, if you look at the screenshot provided, I have 5 details section that gets populated for the same employee.
    How can I combine all these 5 records to only one?
    The homephone, cellphone and email field have formulas created for them, the formula is as follow.
    This example below is for the HomePhone field, the others have different type assigned to them
    If {CommunicationLinks.Type} =1 then
    {CommunicationLinks.DisplayAs}
    else ""
    Homephone, Cellphone and Email are all different types but uses the same field "DisplayAs".
    I also tried creating a subreport for each of these fields but seems to give me the same results.
    Any help would be really appreciated.
    If you have any other questions please let me know. See attached screenshots for reference.
    Thank you in advanced.
    Jocelyn

    Easier way without working in SQL:
    1.  Group by a field that is unique to the employee.
    2.  Suppress the employee group header and the details sections.
    3.  Create a couple of formulas:
    {@ClearVariables}
    WhilePrintingRecords;
    StringVar HomePhone := "";
    StringVar CellPhone :="";
    StringVar Email := "";
    Put this formula in the employee group header - even though the section is suppressed, it will evaluate.
    {@SetVariables}
    WhilePrintingRecords;
    StringVar HomePhone;
    StringVar CellPhone;
    StringVar Email;
    if {CommunicationLinks.Type} =1 then
      HomePhone := {CommunicationLinks.DisplayAs};
    else if {CommunicationLinks.Type} = <type for cell> then
      CellPhone := {CommunicationLinks.DisplayAs};
    else if {CommunicationLinks.Type} = <type for email> then
      Email := "";
    Put this formula in the details section - it will evaluate even though the section is suppressed.
    {@HomePhone}
    WhilePrintingRecords;
    StringVar HomePhone
    (Do the same for Cell Phone and Email.  Note that there is no semi-colon at the end of this one!)
    Put these formulas and all of the rest of the employee data in one or more Employee group footer sections.
    -Dell

  • Can we insert new Detail Section After Report Footer in Crystal Report

    Hi All,
                Is it possible to  insert new  'detail' section  after  ' Report Footer' in the Crystal Report, i know this  is possible in 'detail' section where you can insert new detail one after another, but i want to  insert another  ' detail' section after Report Footer according  my required  result.
    Regards
    Rahul

    Hi Rahul...........
    Open Crystal Report and go to Insert option and select SubReport. From here you can create Subreport........
    Check below links....
    http://msdn.microsoft.com/en-us/library/ms227520%28v=vs.80%29.aspx
    http://www.youtube.com/watch?v=JVNkhj_rnMY
    Regards,
    Rahul

  • Export to Excel - Multiple Tables in a single details section

    Hi All,
    I have a set of reports where I am using a single details section to show multiple tables stacked over one another. That is, i have a table with three columns and two rows, followed by some white space and then another table with 4 columns and 1 row, followed by white space and then other tables.
    When I export it to excel, I am getting the data but the ordering is in a reverse pivoted fashion:
    Excel output:
    CR_column1_Heading    CR_Column2_Heading    CR_Column1_Data CR_Column2_Data
    Is there a way to control the sequence of fields displayed in excel while exporting?
    Thanks.
    - Atif.

    @Carl,
    It is printing like this.
    HEADER1   HEADER2    HEADER3     DATA 1     DATA 2     DATA 3
    I am getting all the columns and fields in excel, that is not a problem. However, the problem is whether i can control the order the fields are printed onto Excel.
    Like what Ben is commenting:
    HEADER1   DATA 1     HEADER2    DATA 2     HEADER3     DATA 3
    However, I dont want to reorder the fields on the canvas as the format layout is predefined.
    I tried searching through the Cystal SDK if there is a finer level of control but to no avail.
    A work around under the above constraints would be simply amazing!
    Thanks again and appreciate your response.
    Regards,
    Atif.

  • Attachments/Pictures not loading in messages (details section) post iOS 8.0.2

    I have an iPhone 5 - after downloading 8.0.1 I discovered the new "Details" section of messages that showed all of your pictures/videos in a message thread as "Attachments", grouped in a grid style. However, after my update to 8.0.2 some of the attachments do not load. There is no way to click on the pictures/attachments to "download" them. When you click on the impacted attachments it will simply show a message such as  "IMG_3645.jpg" for example. There doesn't seem to be any rhyme or reason as to which images do/don't load.
    I have checked and confirmed I have available storage left
    I have done a hard re-boot (with the power/home button simultaneously
    I haven't seen any other instances (in forums, etc..) regarding this issue.
    Any help/suggestions would be appreciated.

    **** the Apple,ios8.0.2 makes iPhone 5s useless,according to Apple if u want to downgrade to iOS 7.1.2,u should throw your mobile out and buy a new iPhone 5s from Apple Store and you could install stable iOS 7.1.2..... Stupid people with no brain....try to hire some developers from android they will do the rest,,,,I was with android before,I have not had this type of inability even single time.....even if firmware is completely buggy and useless,we must use that firmware as no other options are there.....what a stupid policy is this?.......my iPhone 5s is completely useless with iOS 8.0.2 now. Could I return my iPhone to Apple Store? Idiots....

  • Blob dictates duplicate items in details section-based on supression

    I was orginally having issues with my supression on this.  I think I have it figured out. But..
    I have parts that I request that sometimes have drawing with them.  I created a table in Access with 3 columns - number, .bitmap., nameof drawing
    I brought this table in.  I place 1 drawing in the reports and this changes based upon the Paramter{drawing.id} that I have beeing selected.  The problem is that  I get duplicate fields produced in my details section.  Now the blob sits in my report footer C.  Can anyone suggest why or help with why my data is duplicating in my details section?
    all items in my details section are duplicating
    here is my sql if it helps:
    max40385
    SELECT "PR"."PRNUM", "COMPANIES"."NAME",
    "COMPANIES"."ADDRESS1", "COMPANIES"."ADDRESS2",
    "COMPANIES"."ADDRESS3", "COMPANIES"."ADDRESS4",
    "COMPANIES"."PHONE", "COMPANIES"."FAX", "PR"."SHIPTOATTN",
    "COMPANIES_1"."NAME", "COMPANIES_1"."ADDRESS1",
    "COMPANIES_1"."ADDRESS2", "COMPANIES_1"."ADDRESS3",
    "COMPANIES_1"."ADDRESS4", "PR"."ISSUEDATE", "PR"."CONTACT",
    "PR"."REQUIREDDATE", "PRLINE"."ITEMNUM", "PRLINE"."ORDERUNIT",
    "PRLINE"."ORDERQTY", "PRLINE"."DESCRIPTION",
    "PRLINE"."UNITCOST", "PRLINE"."LINECOST",
    "PRLINE"."PONUM", "LONGDESCRIPTION"."LDTEXT"
    FROM   "MAXIMO"."PR" "PR", "MAXIMO"."COMPANIES" "COMPANIES",
    "MAXIMO"."COMPANIES" "COMPANIES_1", "MAXIMO"."PRLINE"
    "PRLINE", "MAXIMO"."LONGDESCRIPTION" "LONGDESCRIPTION"
    WHERE  ("PR"."VENDOR"="COMPANIES"."COMPANY") AND ("PR"."SHIPTO"="COMPANIES_1"."COMPANY") AND ("PR"."PRNUM"="PRLINE"."PRNUM") AND ("PRLINE"."LDKEY"="LONGDESCRIPTION"."LDKEY" ) AND "PR"."PRNUM"='25334'
    C:\Documents and Settings\kpowell\My Documents\Drawings.mdb
    SELECT `Parts_Drawings`.`ID`
    FROM   `Parts Drawings` `Parts_Drawings`
    Edit here-
    Ok - I have 3 parameters
    1- sets pr field ={?pr.num}
    2.- mandatory answer determines a supress on fields(blob, and section blob is in) - supress statment is   - {?yes/no}=no  - for both areas
    the parameter is {?yes/no}
    3. sets up the blob to put into the document base upon a field in the table
    that I made in access (based upon column 1 in acces table) - user makese selection based upon yes or no above if no then just leave it as  ......
    The wired thing is when I have multiple line items in my Pr (purchase request)
    if I included a drawing there are no duplicate details
    If I dont include the blob (meaning I supress it based upon the answer in  my parameter - all items in the details section duplicate  ( i suppress these if duplicated but it leaves huge gaps in my report.... any help would be great!
    Ok i figured it out. In my access table i created the 1st entry and left the bitmap entry empty and put a descrition of not needed. I selected this  as my drawing in my 3rd parameter and it satifies the report as thinking it has  a drawing in it even though there is not.  So all my duplicate line item in my details section disappear.  thanks all
    Edited by: max274 on Mar 27, 2009 4:21 PM
    Edited by: max274 on Mar 27, 2009 4:29 PM
    Edited by: max274 on Mar 27, 2009 6:29 PM

    I found the answer see my previous post in this.

  • 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

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

  • Crystal report for vs 2012 formatting details section

    Hi All,
    I am taking value from a formula-
    if( {Table.Role} like "*ceomd*" )
    then
    {Table.FullName}
    else
    I have put these formulas in the details section ;  I want to show this report like as below
    view 1
    ceo - Name of the person
    technical contact - name of the person
    supply chain -  name of the person
    but unfortunately its not working; it is coming on multiple pages
    then I tried to put in to table structure
    view 2
    ceo                         |  technical contact           |supply chain
    Name of the person |   name of the person       |   name of the person
    then is coming with blank rows
    either of above view is fine with me.
    can you please help me?
    many thanks

    Duplicate of: Crystal report for vs 2012
    Please do not cross post. See the SCN Rules of Engagement
    - Ludek
    SCN Moderator.

  • Detail section in Report Viewer Control rendered bad in IE 6/7 ???

    Hi,
    independent of checking the "no printer" option or select the same printer in Visual Studio Report Designer as on the deployment server the details section of Crystal Report Viewer Control is not rendered correctly in IE 6/7!!!
    But looks fine in Firefox ?!?
    Any ideas?
    Thanks, M.
    Edited by: Markus Schfer on Aug 19, 2008 9:24 AM

    First: i have to excuse me, `cause all sections (header,detail and pagefoot) are rendered strange. It seems that all data is crimped into one column on the left side?!?
    I expected something like this:
    Name     LastName     Birthday       City
    Value Value Value Value
    etc.
    But I get from IE 6/7:
    Name    
    LastName    
    Birthday      
    City
    Value    
    Value           
    Value          
    Value
    Do you better understand my problem now ????
    I hope so
    Thanks a lot!
    M.

  • Missing records in Details section

    Post Author: seeni
    CA Forum: Deployment
    Hi,
    I've developed a report that shows some data in the details section. It works fine in my development pc.
    When deployed at the testing server it fails to show all the recors. for ex: if the query returned 15 records it only shows 2.  But when i ran the same report in my development machine it works fine and displays all the 15 reocrds.
    I'm using sql server 2005, CR ver 11.5.0.313.
    For development and testing i'm using different machine installed with sql server of same version (2005).
    Any idea abt the  fix.
    Thanks
    Seeni

    If you have the professional version of LabVIEW, select New... and then expand the Other Document Types in the create new window.

  • Crystal report with Details section

    Dear All,
    I design one Crystal report. In that can we add Details section below the Report footer.
    When i add Details section it is adding below Details section like Details a and below Details b.
    I want this Details b section adds below Report Footer. Can anybody suggest me how to add that is ?
    Thanks and Regards

    Dear Friend,
    Thnks for reply. In my Crystal report i added two page header like Page header a and Page header b.
    In Page header a i shows the heading of columns and in Page header b also i am showing the headin column. Coz my all columns name not fited in one Page header. Tha's y i taken two Page header.
    Now i also added two Details section for takeing multiple value from database. Like Details a and Details b. But it is showing one by one.
    I want to show record in details section of specific column. Like following design. Can u plz tell me how to design ?
    Page header a    GCN/Invoice      GCN ...................
                                Date                 No.
    Details a             11/12/2008      1
                                13/12/2008       2
    .........Page header b       Destination        Tanker
                                                                      No.
             Details b                  Pune              125469
                                              Mumbai          566862
    Thanks and Regards

  • Detail Section:Printing subtotals of group of data by row w/ no subreports

    CR Xi
    Tables: Opportunity (fields Opportunity.OpportunityID)
                Opportunity_Job
                Selection (fields Type, Quantity, Rate and Extension)
    A) Opportunity:Opportunity_Job are 1:1; Opportunity.Job:Selection are 1:Many (Hence a change in OpportunityID changes the focus to another set of Selection table entries associated with the OpportunityID.)
    B) I have setup a Left Outer Join from the Selection table to the Opportunity table via OpportunityID for a Link Type of "=" (I eliminate the Opportunity_Job table for the purposes of the report)
    C) This is a report without any subreports
    D) Details section of CR
    I have a table (Selection) that  has several fields.  The Selection table contains all the entries for a job that deals with labor, material, equipment etc.
    I'd like to subtotal all the entries in the Selection table by Job.
    Here are the fields I have that are of interest:
    Type (Labor, Material, etc.)
    Extension
    For example, data could look like this
    Type     Extension
    Labor     100.00
    Labor     140.00
    Material    50.00
    Material      7.00
    Labor       10.00
    My RT_TotalLabor field should then provide 250.00 and the RT_Material field should provide 57.00
    If have setup a parameter field (@TotalLabor) and a RunningTotals field (RT_TotalLabor)
    The conditional logic for @TotalLabor is "IF trim({Selection.Type})="Labor" then {Selection.Extension} else 0".  I've also tried "IF trim({Selection.Type})="Labor" then SUM({Selection.Extension}) else 0".    The RT_TotalLabor is setup to summarize on @TotalLabor via SUM and to evaluate on Opportunity.OpportunityID and reset on change of field of Opportunity.OpportunityID.
    I'm not getting the proper selection of data.
    How do I select the Labor only for the TotalLabor parameter field and get the correct RT_TotalLabor?  I will also need to have a field, @TotalMaterial, with a RT_TotalMaterial to SUM the materials related to the Job.  Additoinally, these fields will be subtotalled and gross totalled but I should be able to handle that once the totals by Opportunity is done.
    TIA
    Edited by: total1 on Aug 8, 2011 9:58 PM

    Ok...I know what I want to say but I'm not sure I'm saying what I want to say! 
    My bad on using the term parameters rather than formula.  ;-(
    Making progess, thanks to you for your help!
    Subreport: (I have only one)
    Here's the @TotalLabor from the Formula Editor: if trim({Table1.TYPE})="Labor" then {Table1.EXTENSION} else 0.
    Same for @TotalMaterial from the Formula Editor: if trim({Table1.TYPE})="Material" then {Table1.EXTENSION} else 0
    Both of these are in the Footer section as I'm still attempting to solve the issue of getting a total of my SET of records for Labor and Material (as well as others once I solve the totalling issues).
    Relating to your comments on the Insert Summary dialog box, I can't figure out how to add a Formula field like @TotalLabor etc so as to make it available to the Insert Summary dialog box.  How do I?
    I have another report, which I didn't write, that utilizes the Insert Summary dialog box in its subreport footer (only one footer) with a {Sum of TotalLabor}(Text Box) and another that has {Sum of TotalMaterial}(number).  I don't understand these!  I can see the respective fields (@TotalLabor) in this subreport's Edit Summary dialog box but I can see the @TotalHours in my Insert Summary dialog box!
    These formulas for the working report are: if {Table1.TYPE} = "Labor" //and {Table1.PRINT} = "T"
    then
        {Table1.EXTENSION}
    else
        0
    and
    if {Table1.TYPE} = "Material" //and {Table1.PRINT} = "T"
    then
    {Table1.EXTENSION}
    else
    0
    So, they are the same.  I just can't get my subtotals to work on a SINGLE row..maybe because I can't see or get them into the Insert Summary dialog box like the subreport that is working on a single row also.
    Maybe another comment: My totals appear to work in a line-by-line (row-by-row) on the report printout but I don't get the subtotals on the SAME line.
    Here's what I see on an output:
    Labor    800.00
    Material 200.00
    (two lines)
    I'd like to see
                    Labor= 800.00     Material= 200.00
    (single line and I've added the text also)  When I try the running totals on the same field (Table1.Extension) I get the SAME value for all my entries even though I've setup a separate running total field and use a conditional check for "Labor", "Material" etc.
    HTH

  • How to keep details grouped together when have more than 1 details section

    I want to create a report that has two different detail sections, and then have the report first print all of the results of the first detail section (DETAIL A), followed by the results of the second detail section (DETAIL B).
    But CR prints the first line of DETAIL A, followed by the first line of DETAIL B. It then goes on to the second line of DETAIL A, followed by the second line of DETAIL B, and so on.
    Can anyone tell me how to keep DETAIL A together, followed by DETAIL B?
    thx, jon

    Assuming the data for the two formats are not in the same record, add a new field to the data record (or calculate it based on the record's data) with a value of A or B, then group by it.
    If the data IS in the same record (i.e., one data record generating both formats), subreports are the only way that I can think of...
    HTH,
    Carl

Maybe you are looking for