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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting the Most Recent instance

Status
Not open for further replies.

Raptor136

Technical User
Aug 26, 2002
39
US
Hi all,
I need to insert the most recent instance of a record into another table. Please see below. Thanks.

Fld1 Fld2 Fld3
AAA 10/1/01 Pending
AAA 9/30/01 Received
BBB 11/01/01 Sent
CCC 12/1/01 Sent
CCC 1/1/02 Lost
CCC 7/1/02 Found

I would need to insert the 1st instance of Fld1 = AAA, the only instance of Fld1 = BBB, and the 3rd instance of Fld1 = CCC into another table. I did this once before, but forgot.
Thanks.

Phil raptor136@adelphia.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top