D
dhinton
I am trying to create two reports from an Access database that relate to a
field called placement type. In the first report, I want to run a report
listing the most recent placement type for clients (a single client may have
multiple placement types in the database). The query criteria that I am
using is:
Last("Date of Placement")
When I execute the query I get an error message indicating that I cannot
have aggregate function in WHERE clause (tbl_Placements.[Date of
Placement]=Last("Date of Placement")).
My second report/query that I want is to compare the last placement type
with the current placement type and determine if it is a stepdown in the
level of placement. I have no clue how to do this. I think that solving the
first query problem is part of the solution and I know that somewhere I will
have to define what constitutes a step down in placement, but don't know how
to go about doing this.
In the second report
field called placement type. In the first report, I want to run a report
listing the most recent placement type for clients (a single client may have
multiple placement types in the database). The query criteria that I am
using is:
Last("Date of Placement")
When I execute the query I get an error message indicating that I cannot
have aggregate function in WHERE clause (tbl_Placements.[Date of
Placement]=Last("Date of Placement")).
My second report/query that I want is to compare the last placement type
with the current placement type and determine if it is a stepdown in the
level of placement. I have no clue how to do this. I think that solving the
first query problem is part of the solution and I know that somewhere I will
have to define what constitutes a step down in placement, but don't know how
to go about doing this.
In the second report