RE: Only Return MAX AutoNum From relational Records
- From: "Christopher Scott Rodgers" <u28402@uwe>
- Date: Fri, 27 Oct 2006 21:28:00 GMT
Hi All,
I'm going home now - will look at the posts later. Thanks.
CSR
Christopher Scott Rodgers wrote:
Thanks Jerry,
tblmarketing.autonumagy is really just a number and not an Autonumber
tblAgency.AutoNumAgy is an auto number. The real problem that I am having
however isnt with that. It is that I need to grab the most recent marketing
record for its associated agency. Karl indicated that I should use a left
join and TOP 1 . This will work if I can figure out how to do it when
tblMarket.AutoNumAgy = tblAgency.AutoNumAgy. The way I have it written now it
only collects one record from the whole table - not each most recent event
for each agency.
Thanks
CSR
If autoNumMarketing is an Autonumber datatype, you can't 100% rely on it[quoted text clipped - 4 lines]
being sequential. In other words, the largest autoNumMarketing might not be
Any help would be greatly appreciated.
.
- References:
- Only Return MAX AutoNum From relational Records
- From: Christopher Scott Rodgers
- RE: Only Return MAX AutoNum From relational Records
- From: Christopher Scott Rodgers
- Only Return MAX AutoNum From relational Records
- Prev by Date: RE: Only Return MAX AutoNum From relational Records
- Next by Date: Re: Missing records in cross tab query
- Previous by thread: RE: Only Return MAX AutoNum From relational Records
- Next by thread: Re: Between statement ?
- Index(es):
Relevant Pages
|
|