Solved

How to hide field values programmatically in VS2005 Crystal Reports

Posted on 2008-10-01
4
1,279 Views
Last Modified: 2010-05-18
Is there a was to access fields in the Crystal Report object to show/hide the values
0
Comment
Question by:KMBrochu
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 22616661
I don't think you can using the VS2005 version.

However you could pass a parameter to the report and use conditional suppression to suppress or hide the fields.

What are you trying to accomplish?

mlmcc
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 22616815
you can at least pass a parameter to the report and set a formula for the visibility of the field depending on this parameter.

In http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx, I do something similar to change the background color of a field.
0
 

Author Comment

by:KMBrochu
ID: 22624789
Is there a way to hide/suppress an image?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 125 total points
ID: 22624873
Same way as any other field but it may still claim the space.
One way to try is to put it inits own section and suppress the section rather than the image.

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now