Results 1 to 3 of 3

Thread: [RESOLVED] SubReport Doesn't Expand Properly

  1. #1

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    Cool [RESOLVED] SubReport Doesn't Expand Properly

    Hi All,

    I have a report (VB.Net to Crystal) and inside this report I have a supreport.

    The problem I have is that as the subreport expands, it overwrites text that is placed below it.

    I'll try and draw it:

    [------------------------------]
    [ Heading ]
    [ ]
    [ Main Report Stuff ]
    [ : ]
    [ Subreport ]
    [ More main stuff ]
    [ ]
    [ Footer ]
    [------------------------------]

    So looking at this (lously exuse for a) picture, the subreport ends up being printed over the top of the "more main stuff" and also over the footer. Even though I have the "cangrow" property set to true for the sub report field, this still hapens.

    any ideas?

    cheers.
    Last edited by stingrae; Mar 10th, 2004 at 09:54 PM.
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Place the sub report in its own sub-section. You can create additional sections for any main(default) section. Right click the section where the sub report is located and click Insert Section Below(or something like that.

    For example assuming this layout
    VB Code:
    1. Group Header - Heading Information
    2. Details      -  Main Report Stuff
    3.              - Sub Report
    4.              - More Main Stuff
    5. Group Footer - Footer Information
    6.  
    7. 'Add two additional detail sections (or where ever our sub report is located).  Your report will now look something like
    8.  
    9. Group Header - Heading Information
    10. Details a    -  Main Report Stuff
    11. Details b    - Sub Report
    12. Details c    - More Main Stuff
    13. Group Footer - Footer Information
    Crystal does not start printing a section until it has printed the previous section.

  3. #3

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    Thumbs up

    cool. THANKYOU!!

    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width