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

Detail with DynamicHeight problem

edited July 2005 in General
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

Comments

This discussion has been closed.