Solved

Error Message if Parameter Doesn't Contain Value(s)

Posted on 2013-06-27
4
229 Views
Last Modified: 2013-06-28
Hello Experts!

I am using Crystal Reports 2008.  I currently have a report request that has three parameter fields.  All of the fields are "optional", but at least one has to be chosen (if that makes sense).  If the user does not enter a value into at least one of the fields, the report is supposed to display an error message prompting the user to enter a value.  I have an alert set, but the report has to run before it is evaluated so that doesn't work.  Is this possible?

Thanks!
0
Comment
Question by:SBsUserName
  • 2
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 39282942
I don't think so.

The parameter screen only knows that there are 3 parameters and the are optional.  

To accomplish what you want, you will need to build an application to run the reports and a parameter screen that can test to see if one has a value.

mlmcc
0
 
LVL 18

Assisted Solution

by:vasto
vasto earned 250 total points
ID: 39283108
I agree, this validation should be part of the viewer not part of the report.
What viewer are you using?

Here is a video, which shows  an example of parameter's validation. (jump to position 8:30 min) : http://www.r-tag.com/Pages/Preview_Demo.aspx
0
 

Author Comment

by:SBsUserName
ID: 39284182
We are using Crystal Report Viewer - 2008.

That is the answer I was expecting, but needed to ask the experts!  Thanks!
0
 
LVL 18

Expert Comment

by:vasto
ID: 39284215
You can request a free license for the viewer above from this address :
http://www.r-tag.com/Pages/FreeCrystalReportsViewer.aspx
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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…

786 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