Avatar of João serras-pereira
João serras-pereiraFlag for Portugal

asked on 

extracting 1 record per query based on timestamp

Hi,

I am struggling with a query the is returning too many records for a determined key.
Record is

[Person], [keyType] [createdTimeStamp]

so, most of the time I have only 1 record per person but, here and there, I may have 2 and mor records, for different keyTtype]. I need the extract on the query , just the very last record baased on [createdTimeStamp

any ideas?
Microsoft AccessVBA

Avatar of undefined
Last Comment
John Tsioumpris
Avatar of João serras-pereira

ASKER

Welll... this a bit of a strecth because only some of the records are "doubled".... Will let you knwo...
Avatar of Tom Farrar
Tom Farrar
Flag of United States of America image

Well I think it should pick the top record whether there is one or ten.
ASKER CERTIFIED SOLUTION
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo