Solved

How to hide field values programmatically in VS2005 Crystal Reports

Posted on 2008-10-01
4
1,296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 101

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 70

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 101

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

688 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