Dynamic height
Hi all!!
How I can set the Height of a detail band according to the
height of the data displayed in a DBmemo.?
i.e if I have a memo with the following lines:
a
b
c
with only 3 lines on the memo the memo height fits with the height of the
detail properly,
the problem is that
when I add another line to the memo (item d ) then the memo does not display
all the
lines cause the height of the detail is too small.
I have PrintHeight = phDynamic & dbMemo Stretch = True;
TIA
Julio.
How I can set the Height of a detail band according to the
height of the data displayed in a DBmemo.?
i.e if I have a memo with the following lines:
a
b
c
with only 3 lines on the memo the memo height fits with the height of the
detail properly,
the problem is that
when I add another line to the memo (item d ) then the memo does not display
all the
lines cause the height of the detail is too small.
I have PrintHeight = phDynamic & dbMemo Stretch = True;
TIA
Julio.
This discussion has been closed.
Comments
are you adding that extra line to the memo? Are you adding it manually? If
so, when?
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
so the string field can contain just 1 character or 5000 characters,I can't
assign a space for 5000 characters on the height of the detail band cause
not all the records on the dataset have 5000 characters, what I want is a
dymanic height on the detail band as such way that allows me to print the
entire record on the detail..
Another thing is.. How can I force to the detail band to print on a new page
when the next record to print does not fit with the available printable area
i.e. The report already printed the first record on the detail band and this
record needed 1/3 of the page so the next record starts printing after 1/3
page and finish on the next page..
Regards
Julio.
"Alexander Kramnik (Digital Metaphors)"
behavior. Make sure that these settings are not being reset somewhere.
To force the entire detail band onto a new page place all the components in
the band into a region and set KeepTogether on the region to True.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
My report is looking good now, Only thing I could not get it to work is
display the entire record on a page, I moved all the detail components into
a region with keeptogether = True but does not work at all.
Julio.
"Alexander Kramnik (Digital Metaphors)"
sound obvious but they might not necessarily get placed into the region when
dragged. You can display the report tree (View->Report Tree) to be sure. The
other way to get the entire record to stay together is to create a group
that break for every record and set the group to Keep Together.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com