Is there a way to get programmatic access to the columns of a ActiveReports detail section?
- by Seth Spearman
Hello,
I have a report in Data Dynamics ActiveReports for .NET. In this report I am programmatically setting the ColumnCount property of the detail section to X. The detail section has one databound textbox.
The ColumnDirection property of the detail section is set to AcrossDown and the and then the data binding mechanism automatically fills across with data after setting the DataSource and DataMember.
Here is the code...
Public Sub RunReport
Dim count As Integer = 0
' ... get count
Detail1.ColumnCount = count
Me.DataSource = ds
Me.DataMember = ds.Tables(0).TableName
End Sub
That code works fine and the data is automatically filled across the report.
Now I need to alter the report and circle or highlight one of the items that is auto-filled across columns in the report.
I cannot find any way to programmatically access the auto-generated columns so I can turn on a border or draw a circle or something. Any ideas how I would do that?
Seth