S
stephen.belyea
I've got a situation where I need to run a query that pulls data from
two different (but related) tables, and then lists the most recent
date for each entry in the second table.
The two tables and fields are
tblProperty
tblProperty.PropSiteName
tblProperty.PropStreet
tblInspection
tblInspection.InspDate
Each Property can have multiple inspection dates.
My goal is to have a report that provides the PropSiteName, PropStreet
and InspDate, with the information sorted by the InspDate that also
shows the null records (properties that have never been inspected).
Is there a way to do this with criteria and multiple queries? Or would
I have to use SQL (which I have no experience with)?
Thanks in advance!
((I've browsed the newsgroup history and read similar threads to this
one, but I am unable to understand how to create the SQL queries
mentioned in them or how to modify them to fit mine, a situation where
I have 2 different tables))
two different (but related) tables, and then lists the most recent
date for each entry in the second table.
The two tables and fields are
tblProperty
tblProperty.PropSiteName
tblProperty.PropStreet
tblInspection
tblInspection.InspDate
Each Property can have multiple inspection dates.
My goal is to have a report that provides the PropSiteName, PropStreet
and InspDate, with the information sorted by the InspDate that also
shows the null records (properties that have never been inspected).
Is there a way to do this with criteria and multiple queries? Or would
I have to use SQL (which I have no experience with)?
Thanks in advance!
((I've browsed the newsgroup history and read similar threads to this
one, but I am unable to understand how to create the SQL queries
mentioned in them or how to modify them to fit mine, a situation where
I have 2 different tables))