Page 1 of 1

Borders of DataBand

Posted: Mon Dec 15, 2008 7:31 am
by Tobias
Hi!

When having a DataBand, I want a horizontal line between each row, but not above the first row and below the last row. There's no "in-between" border setting. How can I do this? Using a condition to select a different style for the last row of the DataBand? How would the expression need to look like in this case?

Another DataBand I use has two columns. I would like to have a border above and under each column:

Code: Select all

  head1     head2        head1     head2
--------------------   --------------------
  field1    field 2      field1    field 2
  field1    field 2      field1    field 2
  field1    field 2      field1    field 2
--------------------   --------------------
If I enable the border at the bottom of the header band, then I get my border above the columns. But what about the border at the bottom of each column on each page?

Thx,

Tobias

Borders of DataBand

Posted: Mon Dec 15, 2008 3:24 pm
by Edward
Hi Tobias,

As an answer on the first part of your question:

Yes, the condition for the bottom border of the DataBand can be as follows:

!DataSource.IsEof

or for the Top border:

!DataSource.IsBof

Inside of columns when you need to emphasize headers and footers, please use a ColumnHeader and a FooterBand accordingly with PrintOnAllPages property set in true and FooterBand.PrintAtBottom = true

Thank you.