Skip to Content
0
Former Member
Sep 20, 2012 at 03:26 AM

suppress fields at run-time

28 Views

Hi

I'm looking for a way to suppress fields in a similar manner to how I suppress text below:

Dim myReport As New CrystalReport1

Dim myText As CrystalDecisions.CrystalReports.Engine.TextObject

myText = CType(myReport.ReportDefinition.ReportObjects.Item("Text4"), CrystalDecisions.CrystalReports.Engine.TextObject)

myText.ObjectFormat.EnableSuppress = True

CrystalReportViewer1.ReportSource = myReport

Any advice would be appreciated