A
Anne
I would like to take the most recent Acquired date for each Emp ID from the
Assigned table for a specific certification and place it in the
EAPAnniversary field in the Status table. I have this for the query:
UPDATE tblAssigned INNER JOIN tblStatus ON tblAssigned.[Emp ID] =
tblStatus.[Emp ID] SET tblStatus.EAPAnniversary =
DMax("[Acquired]","tblAssigned","[Emp ID]=" & [tblStatus]![Emp ID])
WHERE (((tblAssigned.[Certification Name])="CRDM Clinical 'Common
Functional' EAP - US"));
But I get a type conversion error. I tried to use DateValue around the DMax
and got the same error. It worked when I did not have criteria in the Dmax,
but of course everyone got the Max date across the domain, not just for
themselves. Both the Acquired and EAPAnniversary fields are Date/Time types.
I'm using Access 2003. Any help appreciated.
Assigned table for a specific certification and place it in the
EAPAnniversary field in the Status table. I have this for the query:
UPDATE tblAssigned INNER JOIN tblStatus ON tblAssigned.[Emp ID] =
tblStatus.[Emp ID] SET tblStatus.EAPAnniversary =
DMax("[Acquired]","tblAssigned","[Emp ID]=" & [tblStatus]![Emp ID])
WHERE (((tblAssigned.[Certification Name])="CRDM Clinical 'Common
Functional' EAP - US"));
But I get a type conversion error. I tried to use DateValue around the DMax
and got the same error. It worked when I did not have criteria in the Dmax,
but of course everyone got the Max date across the domain, not just for
themselves. Both the Acquired and EAPAnniversary fields are Date/Time types.
I'm using Access 2003. Any help appreciated.