Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Expanding detail bar based on a dbMemo field...

edited September 2002 in General
In my Detail bar I have a dbMemoField which has the potential to be larger
than a single line. I've got a colored box around the detail bar. How can
I get the dbMemo field to be associated with the box around it, so that for
records which cause the dbMemo field to be more than one line in length,
will cause the colored box to expand with it??

Thanks.

Comments

  • edited September 2002
    You can place the memo inside of a region component. The region becomes the
    parent of the memo and will stretch to accomodate it. You can set the
    region's color to highlight the memo. The other option is to place a shape
    in the detail band. Set the shape to StretchWithParent.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    I will try the region component and see how that works.

    I did set the StretchWithParent to true for the shape. This does make it
    correctly expand, but the problem is that I have a subreport below this
    shape with it's drillDown set to be the shape. When you click on the shape
    and expand the subREport, the SubReport is now inside of the shape. I want
    the subreport to be below the shape. So that method won't work.

    Thanks,
    Chris.


  • edited September 2002
    Using the Region does seem to work fine for my application.

    Thank you for your help.

    --Chris


This discussion has been closed.