Solved

Crystal Reports Parameter Prompting and Group or SubGroup Values

Posted on 2007-03-20
6
335 Views
Last Modified: 2012-08-14
I have a report that has a counter in group heading number 5.  The report is grouped by region, then by city and state and then by store location name.  After the group of store location name, it list the dates of things that have gone wrong for that particular store.  What I have done is taken the date field from my query and made it a distinct count value so that it can count up all the dates.  This is an important value as my department wants to see how many days there were issues.  This counter is not a group, but it is within a group.  Now my problem is they want me to make a selection criteria or a parameter prompt so that if they want to see a location with 1 date number, then all that would be listed are locations with the count of 1.  They also want a range so that if they want to see locations that have 5-10 days of dates listed, then it would have to show records that have from 5-10 days of records.  Can you guys help me with my parameter selection?  I am not sure how to solve this problem.  I know how to make a parameter, but not one like this.  Thanks!
0
Comment
Question by:VBBRett
  • 4
  • 2
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 18756799
I don't think you can resolve this in Crystal.

How are you calculating the count?
If it is a summary you may be able to suppress based on the value.

mlmcc
0
 

Author Comment

by:VBBRett
ID: 18756994
I am calculating the count like the following.

I have a field from the database called Start_Date

I take that and run a distinct count of Start_Date which is grouped under the following

Area
 -Region
    -State
       -City
        -Location Name - Under location name, I got the distinct count of the date.  There would be records underneath Location name sorted by date which would describe issues that happened.  How would I run a parameter so that my users can see a number range from 1 number of dates anywhere all the way up to 100 dates numbered if need be?

         -
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 18757846
Is the count in a formula or a summary function?

Open the select expert and see if the count field is available inthe list of report fields.
If it is
Select it
Choose =
enter 5

See if it filters correctly.

If that works you can create a parameter and use it in place of the 5 int he select expert.

If you need a range you may have to use a little more complex formula

mlmcc
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:VBBRett
ID: 18758672
Actually, I think I figured out what I need to do.  I am making a copy of the table in a different view and joining the table with itself.  After that, I only extracted what I need from one of the tables and I used all the fields from the original table.  After I join everything properly, I should be able to use the count for what I need.  So it appears that if your query sucks, so will your report..LOL!
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18759256
Please let us know if that method solves the issue.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18851328
Glad i could help

mlmcc
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now