Solved

How to hide field values programmatically in VS2005 Crystal Reports

Posted on 2008-10-01
4
1,289 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 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Infragistics UltraGrid - Export to Excel 2 149
Crystal Reports - Trim Data 7 65
Business Object Server 2 30
Crystal Reports Server 2016 Installation, setup and use 5 356
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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