Solved

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

Posted on 2013-06-27
4
230 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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…
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…

831 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