Last Item not on the last page
Manuel Grenacher
When you have only the Footer on the last Page and no Item:We have to check the position from the last Item!
[u]Common Script of the Document:[/u]
Dim rowsCount As Integer
[u]GenerateScript of the Document:[/u]
rowsCount = Document("DocumentRow").DataView.ToTable().Rows.Count
[u]On the NewPageBefor Binding Property of the Item Detail:[/u]
(rowsCount = DocumentRow.LineNumber) AND Engine.UsedHeight > 2000
Note:
2000 is the Range, that you have to evaluate, (Worst Case: your Highest Footer!)
Tip: Make a Document with the bigest Footer and printout the Engine.UsedHeigt of your first Footer Element
0
Please sign in to leave a comment.
Comments
0 comments