Dfirst and DLast function

  • Thread starter kft10 via AccessMonster.com
  • Start date
K

kft10 via AccessMonster.com

Hi,

Can anyone tell me how to get the first and the last record on field 'date'
of my table 'table1'? I can't find it in help menu in my Access. Thank you
in advance.

KF
 
A

Allen Browne

kft10 via AccessMonster.com said:
Can anyone tell me how to get the first and the last record on field
'date'
of my table 'table1'? I can't find it in help menu in my Access. Thank
you
in advance.

Use DMin() and DMax()

If you want to get to other fields in that record too, see:
Getting a related field from a GroupBy (total) query
at:
http://www.mvps.org/access/queries/qry0020.htm
 

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

Top