Solved

Crystal Reports Parameter Prompting and Group or SubGroup Values

Posted on 2007-03-20
6
344 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
across tab - Distinct Count - Crystal Reports 2 90
Crystal Reports--SubReport 3 65
Visual Studio .Net 2012 and Crystal Reports 9 116
Crystal Reports Version 7 4 38
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. …
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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