Not easily. I don't know what the different fields in the tables are. Can
you explain what these fields are:
[Individual Drill Performance Data].Name
[Individual Drill Performance Data].PERNR
[Drill information].[Date]
[Drill information].DrillID
[Individual Drill Performance Data].DrillID
Also, do not use Date as the names of a field. It is a reserved word in
ACCESS, and your use of it as a field name can lead to all kinds of
problems
and confusion. See these articles for more information:
List of reserved words in Access 2002 and Access 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;286335
List of Microsoft Jet 4.0 reserved words
http://support.microsoft.com/?id=321266
Special characters that you must avoid when you work with Access
databases
http://support.microsoft.com/?id=826763
--
Ken Snell
<MS ACCESS MVP>
Ken,
I am not sure how to use this select statement based on what I have.
Here
is what I have in my SQL view maybe it may work better if you plug
inthe
info.
SELECT [Individual Drill Performance Data].Name, [Individual Drill
Performance Data].PERNR, [Drill information].Date
FROM [Drill information] INNER JOIN [Individual Drill Performance Data]
ON
[Drill information].DrillID = [Individual Drill Performance
Data].DrillID
WITH OWNERACCESS OPTION;
:
Try this:
SELECT * FROM Tablename
WHERE TestDateField =
(SELECT Max(T.TestDateField) AS MTD
FROM Tablename AS T
WHERE T.EmployeeNum = Tablename.EmployeeNum);
--
Ken Snell
<MS ACCESS MVP>
I need help with a date based issue.
I have an employee who takes a test on 01/01/2006 and then later
that
year
that same person takes a similar test 02/02/2006. I am looking to
do
query
that returns latest date (most recent). This is for many people
within
an
organization who may have multiple different tests dates.
JudyT