Solved

Crystal Reports Show Only Current Record

Posted on 2014-12-03
3
319 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 22

Expert Comment

by:Ido Millet
Comment Utility
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 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
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
 

Author Closing Comment

by:daskas27
Comment Utility
Perfect. Thank you.
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

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…
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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

728 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

9 Experts available now in Live!

Get 1:1 Help Now