Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning orders based on date

Status
Not open for further replies.

jhuber07

IS-IT--Management
Dec 12, 2005
1
US
Hello,
I have a list of email addresses with corresponding dates & times.

I'm trying to append the fourth field (below), which tells us (based on date & time, BY email address), "most recent for this email", "second most recent for this email",...

Email_addy_1,1/1/2005,1:00AM,2
Email_addy_1,1/1/2005,2:00AM,1
Email_addy_2,2/1/2005,5:00PM,3
Email_addy_2,5/1/2005,3:00PM,2
Email_addy_2,7/1/2005,4:00AM,1

Thank you!
 


Hi,

Just query and Order By EmailAddr, EmailDate Desc, EmailTime Desc

Skip,

[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue]
 
Would not this value change whenever a new record is added that has a matching email address?
 
Do a keyword search in this forum for rank or ranking

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top