CrossBand is used for horizontal lists building. Band repeatedly outputs included elements LTR. CrossBand must be located in Detail, Header or Footers that define CrossBand location in a report. Repetition amount is defined by the InstanceCount property.
. LineNumber() statement is used in order to get entry number. If all the entries output by CrossBand don’t fit into one line, the list continues from a new page.
Example of a horizontal list that outputs an entry number:
crossBand1.InstanceCount = 4;
textBox.Value = crossBand1.LineNumber().ToString + " of " + crossBand1.InstanceCount().ToString;