?
Solved

How to hide field values programmatically in VS2005 Crystal Reports

Posted on 2008-10-01
4
Medium Priority
?
1,304 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 375 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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

777 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