what is difference in section and subreport, where to use multiple sections?

Please share your knowledge about these Crystal Reports concepts.

  1. I want to know what is difference in section and sub report? I know about default sections and we can add new sections into report.

  2. What is purpose of a subreport? when should we use a subreport instead of a section?

  3. Where should we use multiple detail sections in report?

  4. Are sections used to carry a “Can grow” field that will be bringing data dynamically?

1

1) Difference between Section And Subreport

I guess you have confused the concept of section and subreport.
– Section refers to the design areas which is used to build your
report. Page header, report header, details, footer are sections of
report.
– Subreport is the report within another report object. Even
subreports have sections in their report.(Page header and Page
footers Section is not there in subreports)

2) Purpose of having Sub report

  • We use subreports to combine unrelated report to one, to get and
    present different views of same data within a report and also to non
    linkable data to coordinate.

3) When Multiple Sections are used.

I found the answer by googling. And the answer is here.

  • Keeping variable length objects from overwriting each other
    When
    subreports or other variable length objects are placed above other
    objects in one section of the report while the Can Grow option for
    the variable length object is toggled on in the Properties view, that
    object may overprint objects positioned directly below it unless you
    have:

    • Expanded the section to fit the maximum size of the object.
    • Spaced the objects, allowing enough space for the first object to
      complete printing before the second one begins.

      You can eliminate
      this overprinting problem by creating multiple sections in an area
      and placing objects below the variable length object in their own
      section(s). Now, when the report runs, the section with the variable
      length object will finish printing before the section below it prints
      and you will get the results you want.
      Note: Many report objects can
      use the Can Grow option and can, therefore, cause overprinting:

      Text fields
      • Formula fields
      • Subreports

  • Eliminating blank lines when fields are empty
    It is very common to
    have two address lines in a customer table, one for street address
    (Address 1), and one that can be used for a suite number or mail stop
    (Address 2). Address 1 usually contains a value, but Address 2 is
    often blank. If you create a customer list using this data and stack
    the fields on top of one another in mailing label format, those
    customer records with an empty Address 2 field will print with a
    blank line. You can eliminate this blank line either by using
    multiple sections, or by suppressing blank lines.

    To eliminate blank
    lines by using multiple sections
    a. Create two new Body sections so
    that you have a total of three.
    b. Place the Address 2 field in the
    middle section and the other data in the sections above and below it
    as you want it to appear in the report.
    c. In the Report Structure
    Panel, highlight the second section.
    d. In the Properties view, set
    Suppress if Blank to True. Now, when the report prints, if the
    Address 2 section is blank, the program will not print it and you
    will not get unwanted blank lines in the report.

  • Adding blank lines conditionally
    Use multiple sections to print a
    blank line on your report under specific conditions. For example,
    you may want to insert a blank line after every fifth record in the
    report.
    To add blank lines conditionally

    1. Create two Body sections.

    2. Place the report detail data in the top section.

    3. Right-click the second section and from the context menu, click Conditional Formulas.

    4. Select Suppress and then click OK.

    5. Enter the following formula: Remainder (RecordNumber,5) <> 0 This formula divides each record number by 5. If the division
    produces a remainder, it suppresses the blank section. But if the
    division produces no remainder (which it will for every fifth record
    printed), the program prints the second section, thus inserting a
    blank line.
    Note: To insert a blank line under different conditions,
    you can modify your formula appropriately.

4) “Can grow” is an option(check box) can be set to sections in order to dynamically format data.

Hope it answers your question!!

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật