Solved

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

Posted on 2013-06-27
4
234 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
[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
4 Comments
 
LVL 101

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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 …
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
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…

726 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