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!

Need help Comparing Dates

Status
Not open for further replies.

gjmac2

IS-IT--Management
Mar 31, 2006
45
US
Please forgive my ignorance, but my knowledge of SQL and VBA is very limited.

I have a table with a field entitled LAST MODIFIED.

The table is comprised of both a date and a time value.

I frequently import new data into this table, with changes to the individual records, which is reflected in the LAST MODIFIED field.

My question is this....How do I query this table to return the record with the most current date and/or time in the LAST MODIFIED field?

Here is an example of one of the entries...


02/01/2006 12:42:25 AM

Thank you.
 
Thank you for the rapid response.

Again, please excuse my ignorance, but should the statement you posted be put in the criteria field of design view, or in the sql view?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top