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

Line moves up when 'Shift with Parent' is True and DBmemo is empty

edited July 2001 in General
Hi,

Any one know how to prevent a line from moving up (and into the text
of a report) when a DBmemo is empty?

Here's the layout of the report band that is mis-behaving:

dbText1 dbMemo1
-------- line1 ----------------


When
a) there is text in dbText1,
b) dbMemo1 is empty,
c) dbMemo.stretch is set to 'True', and
d) Line1.ShiftWith Parent is 'True',
then, upon preview or print, Line1 moves up to the middle of dbText1,
as though the band had contracted.

The only thing that seems to work is to move the line down far enough
so that when it moves up (upon encountering the empty dbMemo), it does
not go through the text. But that's a kludge, and the resulting
report is ugly.

TIA,

Phil

Comments

  • edited July 2001
    Hi,

    put the line on a region. And tell the region to shift relative to the
    memo.

    enjoy,
    Ron.
  • edited July 2001
    Ron,

    thanks for getting me on track.

    Regards,
    Phil



    On Wed, 25 Jul 2001 06:26:29 -0500, "Ronald Eckersberger (TeamDM)"
  • edited July 2001
    Ron,

    When I tested putting a line on a region, the result was the same
    problem as described previously.

    Would appreciate any other thoughts.

    Thanks,
    Phil


    On Wed, 25 Jul 2001 13:35:05 -0500, Philip A. Hardin
  • edited July 2001
    Put the dbText and the dbMemo in a region. That should cause the line to
    not move up into the dbText.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2001
    Jim

    That was the trick. Actually, the answer was to put the text and memo
    into Region1, the line into Region2, and set the appropriate
    attributes. Then it all worked.

    Thanks,
    Phil



    On Thu, 26 Jul 2001 18:11:13 -0500, "Jim Bennett \(Digital
This discussion has been closed.