DBText word wrapping
Hello.
In a report I'm making a field has variable length characters, from 10 to
255 aprox, but the most of them are short. So, I put a DBText with a medium
width to display it. When the field is larger than the DBText, it cuts the
text and doesn't display the entire content. Which I need to do is to make
the DBText taller so as to include the whole field content in it, resizing
automatically, I think it's called word wrap, but I don't know if report
builder controls support it. Is there a way to do this? Do I have to use
another component in the report?
Thank you very much.
Daniel Alvarez
In a report I'm making a field has variable length characters, from 10 to
255 aprox, but the most of them are short. So, I put a DBText with a medium
width to display it. When the field is larger than the DBText, it cuts the
text and doesn't display the entire content. Which I need to do is to make
the DBText taller so as to include the whole field content in it, resizing
automatically, I think it's called word wrap, but I don't know if report
builder controls support it. Is there a way to do this? Do I have to use
another component in the report?
Thank you very much.
Daniel Alvarez
This discussion has been closed.
Comments
Try using a DBMemo control instead of DBText. When you place the DBMemo on
the page, set the width to the width you want the paragraph to be, and then
right click on it and select "Stretch" from the popup menu. The DBMemo
field will continue to wrap text at the end of each long line and move
subsequent text down the page within the confines of the control's width,
rather than truncating it.
Vinnie Murdico
Software with Brains, Inc.
http://www.softwarewithbrains.com
Vinnie Murdico escribi? en el mensaje de
noticias 8EAE82296ACCD311A039005004E0CAC0055168@DMSERVER...
on
then
makes it taller, but it overlaps the next control down in the detail band.
What I need is that the control resizes but the next line begins a where the
actual line ends, so as not to overlap the text.
Daniel Alvarez
Vinnie Murdico escribi? en el mensaje de
noticias 8EAE82296ACCD311A039005004E0CAC0055168@DMSERVER...
on
then
ShiftRelativeTo on stretchable controls. Check out the help file for more
info.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Daniel Alvarez