Unexpected ColumnTraversal behavior
Hi,
I have a label report with 4 columns. The detail band have it's column
traversal property set to ctLeftToRight. This works ok until I set it's
BandsPerRecord to something else than 1. If I set this value to 5 I expect
each record to print 5 times from left to right, but this is not the case.
Instead it prints from top to bottom for each record change and then from
left to right.
E.g. dataset with records A, B, C, and D.
Expected:
A A A A
A B B B
B B C C
C C C D
D D D D
..
Instead:
A B C D
A B C D
A B C D
A B C D
A B C D
..
Is this the expected behavior?
Morten
I have a label report with 4 columns. The detail band have it's column
traversal property set to ctLeftToRight. This works ok until I set it's
BandsPerRecord to something else than 1. If I set this value to 5 I expect
each record to print 5 times from left to right, but this is not the case.
Instead it prints from top to bottom for each record change and then from
left to right.
E.g. dataset with records A, B, C, and D.
Expected:
A A A A
A B B B
B B C C
C C C D
D D D D
..
Instead:
A B C D
A B C D
A B C D
A B C D
A B C D
..
Is this the expected behavior?
Morten
This discussion has been closed.
Comments
layouts. Since you know the number of columns, you may be able to use a
JITPipeline to return the value from the correct record whenever the
RecordIndex is a multiple that number.
liRecordIndex := JITPipeline.RecordIndex div FNumberOfColumns;
--
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com