View Single Post
  #2  
Old May 27th, 2010, 05:23 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Picking only the latest entry?

Russell

Access stores data in tables rather like a "bucket o' data" -- there is no
readily-apparent order.

For Access to give you "the latest entry" requires that you tell Access how
to determine what "latest" means.

I'm assuming you mean "most recent". If so, you'll need to tell Access
which (date/time) field to use to determine "most recent".

You mention "bills" on properties ... are you only interested in when the
bill came in, or also when it is/was due, when it was paid, etc...?

More info, please...

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Pascoe via AccessMonster.com" u43716@uwe wrote in message
news:a8a2fdf02a983@uwe...
Hi Folks,

I want to pick out of a table only the latest entry that meets my
criteria,
and I don't know how to.

I have properties (as a table), and I have property expenses (also as a
table)
I would like to display a report where for each property there is the
latest entry for electric bill, latest entry for gas bill, latest entry
for
service charge etc. i.e. the criteria is bill = electric, date = most
recent

I am at a loss as to how to go about the instruction for "most recent"
entry.


As ever, any help gratefully received.

Kind Regards,
Russell.

--
Message posted via http://www.accessmonster.com