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

Problem with DBMemo, and With Edit Control Word Wrap

edited November 2004 in General
Hi,

I'm using D7 and the latest version of report Builder.

I'm trying to use a control to contain a possibly large amount of text - up
to 250 characters. Most of the time the field is small and prints OK in a
normal db edit control on a single line. Other times I need the control to
stretch to a second or third line.

Also, I want to suppress repeating values except on a page break.

I've tried a dbmemo field, it stretches but I can not get it to repeat on
the page break. Also, the dbmemo field seems to break its horizontal field
boundary and print into an adjacent field??

The dbedit field does not auto stretch, so I must make it three lines high
for word wrap, but this waists space on the report for the majority of lines
that print Ok on one line.

Any ideas what I might be doing wrong??

Thanks,

Austin

Comments

  • edited November 2004
    Hi Austin,

    I'm a bit unclear about what you are trying to accomplish. When setting a
    DBMemo to Stretch, it should simply output the entire memo field on your
    report, continuing to the next page if necessary. There are no known issues
    with this component. You say you would like to suppress repeated values
    except when there is a page break, what exactly would you like to happen
    when there is a page break? Do you want the memo to start over again or to
    finish printing?

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Nico,

    Thanks for the help.

    I'm loading a string text field from the database which is not a memo field,
    into a dbMemo control on the report. I assume this is OK even though the
    underlying field is a string rather than a memo.

    Most of the time the design width of the dbmemo control is adequate and it
    prints on one detail line. I want to suppress repeating values, except on a
    page break - I want the memo field to reprint on the first line of a new
    page. I want the same behavior as a regular dbedit field.

    Also, I noticed that the memo field control sometimes seems to stretch
    horizontally into the adjacent field. It look likes its trying to print half
    a word on the same line rather then strech the control vertically amd print
    that word to a new line. Is this a bug??

    Thanks,

    Austin

  • edited November 2004
    Hi Austin,

    1. Unfortunately the TppDBMemo component does not contain a
    ReprintOnSubsequent property. This property is only available for the
    DBText component. I will add this as a possible enhancement for a later
    release of ReportBuilder.

    2. The DBMemo component should not stretch horizontally. Is there anything
    else you are doing to these components in code that may be causing this
    behavior? You might try commenting out all your event handlers and see if
    that helps the issue. If it does not, please send a small example of this
    behavior using one of the memo fields in the DBDEMOS database in .zip format
    to support@digital-metaphors.com and I'll take a look at it for you.

    --
    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.