using the update query

  • Thread starter Thread starter Castor
  • Start date Start date
C

Castor

Hi,

I am struggling to get the update query working. This is
what I want to do:

Table1 has the following fields:

Origin Destination Equipment Rate Time Stamp
Newyork Houston A $1000 04/20/2003
Newyork Houston A $1200 09/25/2003

Now I want to run a qery which would only take the records
with the latest time stamp i.e. in the above example Table
2 would be populated with the record with timestamp of
09/25/2003.

How can I do this? Tks a lot for your help. Castor
 
-----Original Message-----
Hi,

I am struggling to get the update query working. This is
what I want to do:

Table1 has the following fields:

Origin Destination Equipment Rate Time Stamp
Newyork Houston A $1000 04/20/2003
Newyork Houston A $1200 09/25/2003

Now I want to run a qery which would only take the records
with the latest time stamp i.e. in the above example Table
2 would be populated with the record with timestamp of
09/25/2003.

How can I do this? Tks a lot for your help. Castor
.
Use a aggregate query and set the time stamp to max
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Using the Update Query 3
dates in queries 3
Query combining the tables 15
Update query 1
Force a query to populate consecutive dates? 3
Help with queries 1
Use Update Query to Add Fields 1
Update Query 3

Back
Top