Solved

How to hide field values programmatically in VS2005 Crystal Reports

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

16 Experts available now in Live!

Get 1:1 Help Now