22 February 2007

u can work with existing textbox in crystal report dynamically. supose change value. font style, border, suppress etc.

here is an example.:

Dim tmpCrystalReport As New ReportDocument
tmpCrystalReport.Load(report Path)


crParameterFieldDefinitions = tmpCrystalReport.DataDefinition.ParameterFields
text = tmpCrystalReport.ReportDefinition.ReportObjects.Item("txtTitle")


text.Text = "dynamic value form VB.net"


crSummary.ReportSource = tmpCrystalReport



and same as like this u can change all other property dynamically.

0 comments :

Post a Comment