Borders of DataBand

Stimulsoft Reports.NET discussion
Post Reply
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Borders of DataBand

Post 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
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Borders of DataBand

Post 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.
Post Reply