Solved

Optional Parameter fields in Crystal Reports

Posted on 2014-12-15
2
261 Views
Last Modified: 2015-01-16
I have a crystal report that was written in crystal 2008 off a 2008 sql server.
The report has a total of 5 parameters.
Not all the parameters need to be selected for the report to be ran.
Is there a way to make some optional and some required?
0
Comment
Question by:metalteck
[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 Comments
 
LVL 18

Assisted Solution

by:vasto
vasto earned 250 total points
ID: 40501175
Edit the parameter and set the optional prompt to true as it is shown in the attached file. In you formulas you can use HasValue to check if the parameter was set
if hasvalue({?Parameter} then 
....

Open in new window

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 250 total points
ID: 40501894
Be sure the value returned is TRUE if there is no value passed.

I generally do this by

(Not HasValue({?Param1}) OR {?Param1} = {Field1})

mlmcc
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

635 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