Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports Show Only Current Record

Posted on 2014-12-03
3
Medium Priority
?
421 Views
Last Modified: 2014-12-04
Hello,
      I have a report that the experts here helped me with. I needed to only see the most recent records for a vendor report. I thought I got what I needed by grouping the report by Vendor and sorting the records by rating date (ascending). I then suppressed the Detail section and GH1. Moved the information I wanted to see to GF1 (Group Footer 1).  
The Group Footer shows information for the last record in the group.
The problem now is if I use select expert to only see specific ratings the report will  go back to when that that specific rating may have been.
Perhaps this is not clear. The table I am looking at has the vendor id and a vendor rating, ( C,X,E,G,etc..), and the date when one of these specific ratings was assigned to it. The rating can change for any given vendor at any given time when they are evaluated. I am trying to get a report that will only show me vendors with a current “C” or “X” rating. Any help with this would be appreciated.

Thank you
0
Comment
Question by:daskas27
3 Comments
 
LVL 23

Expert Comment

by:Ido Millet
ID: 40478700
Create a formula that returns the rating date if the rating is “C” or “X” and an old date otherwise.

Add to the Report Group Selection Formula a condition of:
MAX({Rating_Date}, {Vendor_ID}) = MAX({@That_Formula}, {Vendor_ID})
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 40480117
Are you saying you only want to see the records if the last rating (one currently showing) is a C or an X or do you want to see all vendors who have a C or X at anytime in the period?

If the former simply suppress the GF with a formula
   Not ({RatingField} IN [Ç', 'X'])

If the latter requirement, I believe Ido's idea will do it.

mlmcc
0
 
LVL 1

Author Closing Comment

by:daskas27
ID: 40480469
Perfect. Thank you.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

885 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