Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: supress fields at run-time Post Reply Post New Topic
Author Message
marcstrong
Newbie
Newbie


Joined: 08 Apr 2012
Online Status: Offline
Posts: 9
Quote marcstrong Replybullet Topic: supress fields at run-time
    Posted: 19 Sep 2012 at 9:25am
Hi

I'm looking for a way to supress fields in a similar manner to how I  supress 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


IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 27 Sep 2012 at 5:05am
you can't really suppress a field...it's part of the schema.
 
you can suppress any object that displays the field.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.