Detail with DynamicHeight problem
Hi All!
I have the next common problem:
Im many cases length of strings of data so long and is cut on length in its
row on report!
For example (Customer MSSQL test table) - :
65 Louisiana Fiery Hot Pepper Sauce
68 Scottish Longbreads
in report form with standart DBText component and Line as delimiters in
report looks like:
+----+------------------------+
|65 | Louisiana Fiery Hot Pep|
+----+------------------------+
|68 | Scottish Longbreads |
+----+------------------------+
and I'm apply next way:
1) Make detail DynamicHeight
2) Change DBText on DBMemo with Stretch option
3) All vertical lines (delimiters) set parent height and Stretch with Parent
option
in common case all ok:
+----+------------------------+
|65 | Louisiana Fiery Hot |
| | Pepper Sauce |
+----+------------------------+
|68 | Scottish Longbreads |
+----+------------------------+
but often (in 50%) appear problems when turning to new page:
- lines and DBText/DBLabels elements are wraping different ways!
text can inheres on one page, lines (delimiters of my report) - on next!
for example:
+----+------------------------+
| | |
<<<< page break >>>>
65 Louisiana Fiery Hot
Pepper Sauce
+----+------------------------+
|68 | Scottish Longbreads |
What the way to build correct report in my case?
Report Builder 7.02, 9.01
If my description is not enough understandable, I'm can send simple example
with Report Builder 9.01 and Delphi 7
with Nortwind test database of MSSQL Server
Regards,
Nikolai Bochkarev
I have the next common problem:
Im many cases length of strings of data so long and is cut on length in its
row on report!
For example (Customer MSSQL test table) - :
65 Louisiana Fiery Hot Pepper Sauce
68 Scottish Longbreads
in report form with standart DBText component and Line as delimiters in
report looks like:
+----+------------------------+
|65 | Louisiana Fiery Hot Pep|
+----+------------------------+
|68 | Scottish Longbreads |
+----+------------------------+
and I'm apply next way:
1) Make detail DynamicHeight
2) Change DBText on DBMemo with Stretch option
3) All vertical lines (delimiters) set parent height and Stretch with Parent
option
in common case all ok:
+----+------------------------+
|65 | Louisiana Fiery Hot |
| | Pepper Sauce |
+----+------------------------+
|68 | Scottish Longbreads |
+----+------------------------+
but often (in 50%) appear problems when turning to new page:
- lines and DBText/DBLabels elements are wraping different ways!
text can inheres on one page, lines (delimiters of my report) - on next!
for example:
+----+------------------------+
| | |
<<<< page break >>>>
65 Louisiana Fiery Hot
Pepper Sauce
+----+------------------------+
|68 | Scottish Longbreads |
What the way to build correct report in my case?
Report Builder 7.02, 9.01
If my description is not enough understandable, I'm can send simple example
with Report Builder 9.01 and Delphi 7
with Nortwind test database of MSSQL Server
Regards,
Nikolai Bochkarev
This discussion has been closed.
Comments
If you would like to keep certain report components together on the page,
try placing them inside a TppRegion component with the KeepTogether property
set to True. Then, if a page breaks after a line, the line will move to the
next page as well.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
http://www.digital-metaphors.com
info@digital-metaphors.com
property
the
Thank you!
All Ok!
With best regards,
Nikolai Bochkarev