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

dynamically resize dbtext before next record

edited September 2005 in General
Delphi 7 and Report builder 7.03.

i have a report for the book titles. how can dynamically shift that row to
wrap a very long title below and before the next record?

example ..

title = a very very very long title in a long story

shelf no call no author name title
copyright
1 808.20 Alvin Candare a very very very long title-->
cut 1982
2 808.21 alvin candare delphi a beginners guide
2004

like this..

shelf no call no author name title
copyright
1 808.20 alvin candare a very very long title
1982
in a long story
2 808.21 alvin candare delphi a beginners guide
2004


thanks..

Comments

  • edited September 2005
    Hi Alvin,

    Before the DBText prints you will need to get its value and manually measure
    the text to see if it will fit in the alloted space. If it will not, you
    can then resize the DBText component and have it wrap so the title will fit
    correctly. I would suggest trying the DetailBand.BeforePrint event.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.