Count No.of lines in Section

Posted on 2011-10-21
Last Modified: 2012-05-12
Dear Experts,
      im using VS 2010, creating crystal reports.  i want to count the No.of lines printing in sections  like Details or any sections.

waiting for reply

thanks in Advance....
Question by:CMANI10
    LVL 19

    Expert Comment

    One way is to use running totals
    LVL 100

    Expert Comment

    Is each section a single line  or can some be multiple lines?

    Running total will work for the detail section.

    For other sections you will need to use formulas and variables.

    Do you need to reset the count at any point?

    What are you trying to accomplish with the counts?


    Author Comment

    Dear mlmcc,
                         i want to print 10 lines in details sections, Above 10 lines means, lines print to Report Footer.
    My report output comes 1 page only. above 10 lines the report footer will come as second page(Only displayed remaining lines only want to display), it's rider page. can u give example....
    LVL 100

    Accepted Solution

    Are the extra lines more records?

    How do you plan to build the text to display them in the report footer?


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
    There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now