Is it possible to design a report at Runtime? What I am trying to do is
create a very flexible report to have a different amount of columns. The
user can choose the fields from a database table they want to show on the
report. It can be anywhere from 1 - 10 columns.
I found this Visual Basic code, but I can't convert to c# because I can't
found AddFieldObject method in c#!! ¿?
Public Sub AddToDetails()
Dim crSection As CRAXDRT.Section
Dim crFieldObject As CRAXDRT.FieldObject
Set crSection = crReport.Sections.Item("D")
Set crFieldObject = crSection.AddFieldObject("{Customer.Customer Name}",
600, 0)
End Sub
Please, can somebody help me?