# Report builder question (Latest record) **Category:** [Yahoo Archive](https://www.epiusers.help/c/yahoo-archive/9) **Created:** 2001-01-18 07:54 UTC **Views:** 692 **Replies:** 8 **URL:** https://www.epiusers.help/t/report-builder-question-latest-record/1980 --- ## Post #1 by @system
>To unsubscribe from this group, send an email to:
> I haven't had to write any reports against this table yet, so
> I'm not going to guarentee this will work, but if you group
> by employee id (or number, or whatever the field is), and then
> do an aggregate function that is Maximum of the date field you
> are looking for, and reset that for each employee,
> that should give you the latest date for each one.
>
> Tim Care
> Electro Chemical Finishing
>
> ----- Original Message -----
> From: "Cole, Dave" <dave@...>
> To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> Sent: Wednesday, January 17, 2001 1:42 PM
> Subject: [Vantage] Report builder question (Latest record).
>
> > Hi,
> >
> > I am writing a report and need to get the latest record in a series.
> >
> > I am looking at the PREmpRt table and the RateDate field. I want one
> record
> > for each employee with that record being the
> > latest RateDate for that employee.
> >
> > Any ideas on how to write that. It would most likely be a Calculated
> Field
> > or a User Defrined Function.
> >
> > Thanks,
> >
> > Dave Cole
> > Reeder & Kline
> >
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
----- Original Message -----
From: "Cole, Dave" <dave@...>
To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
Sent: Wednesday, January 17, 2001 1:42 PM
Subject: [Vantage] Report builder question (Latest record).
> Hi,
>
> I am writing a report and need to get the latest record in a series.
>
> I am looking at the PREmpRt table and the RateDate field. I want one
record
> for each employee with that record being the
> latest RateDate for that employee.
>
> Any ideas on how to write that. It would most likely be a Calculated
Field
> or a User Defrined Function.
>
> Thanks,
>
> Dave Cole
> Reeder & Kline
>
>
> I haven't had to write any reports against this table yet, so
> I'm not going to guarentee this will work, but if you group
> by employee id (or number, or whatever the field is), and then
> do an aggregate function that is Maximum of the date field you
> are looking for, and reset that for each employee,
> that should give you the latest date for each one.
>
> Tim Care
> Electro Chemical Finishing
>
> ----- Original Message -----
> From: "Cole, Dave" <dave@...>
> To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> Sent: Wednesday, January 17, 2001 1:42 PM
> Subject: [Vantage] Report builder question (Latest record).
>
> > Hi,
> >
> > I am writing a report and need to get the latest record in a series.
> >
> > I am looking at the PREmpRt table and the RateDate field. I want one
> record
> > for each employee with that record being the
> > latest RateDate for that employee.
> >
> > Any ideas on how to write that. It would most likely be a Calculated
> Field
> > or a User Defrined Function.
> >
> > Thanks,
> >
> > Dave Cole
> > Reeder & Kline
> >
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
>eGroups Sponsor
> I haven't had to write any reports against this table yet, so
> I'm not going to guarentee this will work, but if you group
> by employee id (or number, or whatever the field is), and then
> do an aggregate function that is Maximum of the date field you
> are looking for, and reset that for each employee,
> that should give you the latest date for each one.
>
> Tim Care
> Electro Chemical Finishing
>
> ----- Original Message -----
> From: "Cole, Dave" <dave@...>
> To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> Sent: Wednesday, January 17, 2001 1:42 PM
> Subject: [Vantage] Report builder question (Latest record).
>
> > Hi,
> >
> > I am writing a report and need to get the latest record in a series.
> >
> > I am looking at the PREmpRt table and the RateDate field. I want one
> record
> > for each employee with that record being the
> > latest RateDate for that employee.
> >
> > Any ideas on how to write that. It would most likely be a Calculated
> Field
> > or a User Defrined Function.
> >
> > Thanks,
> >
> > Dave Cole
> > Reeder & Kline
> >
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
>To unsubscribe from this group, send an email to:
> I haven't had to write any reports against this table yet, so
> I'm not going to guarentee this will work, but if you group
> by employee id (or number, or whatever the field is), and then
> do an aggregate function that is Maximum of the date field you
> are looking for, and reset that for each employee,
> that should give you the latest date for each one.
>
> Tim Care
> Electro Chemical Finishing
>
> ----- Original Message -----
> From: "Cole, Dave" <dave@...>
> To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> Sent: Wednesday, January 17, 2001 1:42 PM
> Subject: [Vantage] Report builder question (Latest record).
>
> > Hi,
> >
> > I am writing a report and need to get the latest record in a series.
> >
> > I am looking at the PREmpRt table and the RateDate field. I want one
> record
> > for each employee with that record being the
> > latest RateDate for that employee.
> >
> > Any ideas on how to write that. It would most likely be a Calculated
> Field
> > or a User Defrined Function.
> >
> > Thanks,
> >
> > Dave Cole
> > Reeder & Kline
> >
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
>
> You need to take this a couple of steps farther. The "LatestDate"
> Max(RateDate) aggregate, reset on employee, prepass is step 1.
> Step 2: Create calculated field "IslatestDate"
> if( RateDate=LatestDate,True,False)
> Step 3: Record band line properties, enable conditional printing,
> IsLatestdate True
>
> This should print only records where the RateDate of the current record
> equals that employee's latest rate change date.
>
> Regards
> Jim Stetter
> Snow FIltration
> -----Original Message-----
> From: Joe Konecny [mailto:jkonecn@...]
> Sent: Wednesday, January 17, 2001 2:37 PM
> To: vantage@egroups.com
> Subject: Re: [Vantage] Report builder question (Latest record).
>
> I think he wants the latest payrate and not necessarily the
> latest date which is all the max(date) is going to give.
>
> Tim Care wrote:
> >
> > I haven't had to write any reports against this table yet, so
> > I'm not going to guarentee this will work, but if you group
> > by employee id (or number, or whatever the field is), and then
> > do an aggregate function that is Maximum of the date field you
> > are looking for, and reset that for each employee,
> > that should give you the latest date for each one.
> >
> > Tim Care
> > Electro Chemical Finishing
> >
> > ----- Original Message -----
> > From: "Cole, Dave" <dave@...>
> > To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> > Sent: Wednesday, January 17, 2001 1:42 PM
> > Subject: [Vantage] Report builder question (Latest record).
> >
> > > Hi,
> > >
> > > I am writing a report and need to get the latest record in a series.
> > >
> > > I am looking at the PREmpRt table and the RateDate field. I want one
> > record
> > > for each employee with that record being the
> > > latest RateDate for that employee.
> > >
> > > Any ideas on how to write that. It would most likely be a Calculated
> > Field
> > > or a User Defrined Function.
> > >
> > > Thanks,
> > >
> > > Dave Cole
> > > Reeder & Kline
> > >
> >
> > To unsubscribe from this group, send an email to:
> > vantage-unsubscribe@egroups.com
>
> eGroups Sponsor
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
>
> [Non-text portions of this message have been removed]
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com
>eGroups Sponsor
> I haven't had to write any reports against this table yet, so
> I'm not going to guarentee this will work, but if you group
> by employee id (or number, or whatever the field is), and then
> do an aggregate function that is Maximum of the date field you
> are looking for, and reset that for each employee,
> that should give you the latest date for each one.
>
> Tim Care
> Electro Chemical Finishing
>
> ----- Original Message -----
> From: "Cole, Dave" <dave@...>
> To: "Vantage eGroups (E-mail)" <vantage@egroups.com>
> Sent: Wednesday, January 17, 2001 1:42 PM
> Subject: [Vantage] Report builder question (Latest record).
>
> > Hi,
> >
> > I am writing a report and need to get the latest record in a series.
> >
> > I am looking at the PREmpRt table and the RateDate field. I want one
> record
> > for each employee with that record being the
> > latest RateDate for that employee.
> >
> > Any ideas on how to write that. It would most likely be a Calculated
> Field
> > or a User Defrined Function.
> >
> > Thanks,
> >
> > Dave Cole
> > Reeder & Kline
> >
>
> To unsubscribe from this group, send an email to:
> vantage-unsubscribe@egroups.com