Print Page | Close Window

Using loop to suppress Textobject

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=752
Printed Date: 16 May 2024 at 6:33pm


Topic: Using loop to suppress Textobject
Posted By: bha_vesh
Subject: Using loop to suppress Textobject
Date Posted: 26 May 2007 at 1:09am

Hello Everyone

There is a requirement in which  at times  I need to publish the entire report and at times only the database fields should appear ie all the textobjects should be suppressed.

 

Now the reports are quite elaborate and I don’t want to write

Textbox1.suppress = true for some 50 text boxes and then there are many such reports.

 

So I’m looking for a code , which

 

Uses the ForEach statement or ne other  ,  and then suppresses all the textobjects

 

I’m not that deft in using objects. So it will be a gr8 help if one can send me the code for the same.

 

I use VB6 and Crystal report 9 .

 

Waiting Eagerly !!

Thanks !!!




Replies:
Posted By: BrianBischof
Date Posted: 26 May 2007 at 10:20am
Hi. Unfortunately, I haven't programmed in VB6 in over five years and now I'm .NET only. The two APIs are compeletely different from each other. Sorry.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window