Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2002
    Posts
    108

    Unanswered: Height of Control on Report after it grows

    Is there a way to retrieve the control height after it has grown...

    For instance, If you have a subreport with a varying number of records, can you retrieve what the "after Grow" height of the subreport is ??

    I have a report with a lot of subreports and growing is not a problem. But when there are no records in a subreport all other subreports and controls and labels do not move up to occupy the blank space. If a label is placed on a report it stays there no matter if the preceding subreports shrink and I end up with large gaps.

  2. #2
    Join Date
    Feb 2004
    Location
    Chicago, IL
    Posts
    1,312
    Do you have your subreports set to Shrink as well? If Can Shrink is set to Yes then this shouldn't be a problem.

  3. #3
    Join Date
    Feb 2002
    Posts
    108
    Yes, everything on the report is set to CanGrow=yes and CanShrink=yes.

    But when you have other controls like labels or text boxes mixed in with them on the main report, and the three subreports before the labels shrink, you just end up with a big gap before the labels.

Tags for this Thread

Posting Permissions

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