Solved

Crystal Reports Show Only Current Record

Posted on 2014-12-03
3
377 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 100

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
 

Author Closing Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
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…

752 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