Are you certain the Stretch property of the DBMemo is set to True? Also, check that the band the DBMemo is in has its PrintHeight set to phDynamic. Are you by chance loading this report from a template? Where and when are you setting the stretch property?
> Are you certain the Stretch property of the DBMemo is set to True? Also,
I will check the phDynamic property tonight. Yes, I set the Stretch property to TRUE when I click the DBMemo which is definitely on the detail band.
Any difference in loading the report from template? You mean dynamically? One strange thing I found is: I placed a DBText(for DOB) next to this DBMemo(for name), there is a gap between these 2 (about 5 mm) . However, if the name is longer than the DBMemo width, the name should be chopped off, right? However, I found the name is overlapping the DBText, ie spanning to the right on the DBText filed.
If the Stretch property not in effect, why it can 'stretch' horizontally? If the Stretch property is in effect, why it is not vertically?
Which version of ReportBuilder/Delphi are you using? This is not a known issue with ReportBuilder. Memos and DBMemos in ReportBuilder will wordwrap by definition, they will not grow horizontally. Try recreating the issue using a simple example (new report with a DBMemo in the Detail band connected to the DBDEMOS database). If you cannot recreate the issue with the simple example, there may be something else going on in your application causing this behavior (event code, etc.).
Comments
Wordwrap?
--
Hi Alan,
From memory, yes. Try it and see.
Regards,
Ian
--
Are you certain the Stretch property of the DBMemo is set to True? Also,
check that the band the DBMemo is in has its PrintHeight set to phDynamic.
Are you by chance loading this report from a template? Where and when are
you setting the stretch property?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I will check the phDynamic property tonight.
Yes, I set the Stretch property to TRUE when I click the DBMemo which is
definitely on the detail band.
Any difference in loading the report from template? You mean dynamically?
One strange thing I found is:
I placed a DBText(for DOB) next to this DBMemo(for name), there is a gap
between these 2 (about 5 mm) . However, if the name is longer than the
DBMemo width, the name should be chopped off, right? However, I found the
name is overlapping the DBText, ie spanning to the right on the DBText
filed.
If the Stretch property not in effect, why it can 'stretch' horizontally?
If the Stretch property is in effect, why it is not vertically?
issue with ReportBuilder. Memos and DBMemos in ReportBuilder will wordwrap
by definition, they will not grow horizontally. Try recreating the issue
using a simple example (new report with a DBMemo in the Detail band
connected to the DBDEMOS database). If you cannot recreate the issue with
the simple example, there may be something else going on in your application
causing this behavior (event code, etc.).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com