Solved

Crystal Reports Show Only Current Record

Posted on 2014-12-03
3
391 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
[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
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 500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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