Last Date in query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a series of donations and a request for the last date and gift given.
I've tried using the "Last" function, but it comes up with dodgy results,
regardless of where/how I sort the date. Not only is this something I need to
know how to do now, but also something that will be required of my job on a
weekly basis. Short of creating a new table and manually deleting the older
dates, is there any way I can find the date and amount of the last donation?

(and before it's suggested: Yes, this column is a date/time column, not a
text)
 
Hi,
use MAX instead in a totals query.
Last is unreliable at times as you recognized.
HTH
Good luck
 
Try this in a query

Select * From TableName Where DateFieldName =
DMax("DateFieldName","TableName")
 

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


Back
Top