Solved

Getting back incorrect information

Posted on 2015-01-13
8
77 Views
Last Modified: 2015-01-20
I am making a report but on some detail lines I am getting repeats.  This looks to be caused by a field that once was 6am and was changed to 7am.  For some reason the detail line comes in once as 6am and once as 7am and it is screwing up my totals.  

How do I look at the latest value of the field?  It used to be 6am now it is 7am, I only want to see 7am.
0
Comment
Question by:TomBalla
[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
  • 4
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40547075
Are there multiple records involved?

DO you have a group?
WIth a group one way to handle that is to put the detail information in the Group Header and sort in the appropriate direction.  In this case sort on the DateTime field descending.

mlmcc
0
 

Author Comment

by:TomBalla
ID: 40547157
Okay, I have it in a group and descending.  How do I not show the old time?  Right now I still see both of them.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40547180
Suppress the detail section.

Put the information you need from the details into the group header

mlmcc
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:TomBalla
ID: 40547197
I'm still seeing both the old time and the new time.  It is repeating the data.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40547375
What is the report groped on?

Can you upload the rpt file?

mlmcc
0
 

Author Comment

by:TomBalla
ID: 40547412
Report is grouped on Department they work in, employee id, and start time.  Can't upload has personal information.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40547831
If you don't want to see the START TIME details (multiple records) delete or suppress the group.  Put the details for start time in the Employee ID group.

mlmcc
0
 
LVL 35

Expert Comment

by:James0628
ID: 40548622
Do any employees have records for more than one time that you _do_ want to see?  For example, an employee has records for 6 and 7 AM, and you don't want to see the 6 AM record, but they also have a record for 9 AM, which you do want to see.  Or an employee has records for 8 AM and 10 AM, and you want to see both of those.  mlmcc's suggestion won't handle cases like those.  Basically, it "hides" (suppresses) every record for an employee except the one with the latest time.

 Are there any employees that have a 6 AM record that you _do_ want to see?  Or have all of the "6 AM employees" been changed to 7 AM, so you don't want to see _any_ 6 AM records anymore?  If you don't want to see any 6 AM records, you could change the record selection formula to exclude them.

 James
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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