Print Page | Close Window

Testing if a Parameter is Actually Used in Report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=2798
Printed Date: 14 May 2024 at 4:00am


Topic: Testing if a Parameter is Actually Used in Report
Posted By: IdoMillet
Subject: Testing if a Parameter is Actually Used in Report
Date Posted: 02 Apr 2008 at 4:06pm

In the RDC object model, I could use the NeedsCurrentValue property to test whether a parameter is actually used in the report.

Is there any way to achieve the same objective using the .Net object model (Crystal 2008, Visual Studio 2008)?

Thanks,
- Ido



-------------
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com



Replies:
Posted By: IdoMillet
Date Posted: 06 Apr 2008 at 3:53pm
Looked like the UseCount property could be the ticket, but that property is obsolete...

- Ido


-------------
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com


Posted By: IdoMillet
Date Posted: 07 Apr 2008 at 1:24pm
In case someone else runs into the same question:
Looks like the solution is to use the ParameterFieldUsage2

Cheers,
- Ido


-------------
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com



Print Page | Close Window