G
Guest
THe delete query works if I enter the critertia 2006
But when I join the query to the history table, to make the delete dynamic.
I get error message, "Specificy the table containing the records you want to
delete"
What do I need to do??
DELETE AKB_TY_TM_DER_HIST.YEAR
FROM AKB_TY_TM_DER_HIST INNER JOIN tbl_HIST_YR ON AKB_TY_TM_DER_HIST.YEAR =
tbl_HIST_YR.YEAR
WHERE (((AKB_TY_TM_DER_HIST.YEAR)=[tbl_HIST_YR]![YEAR]));
thanks
H
But when I join the query to the history table, to make the delete dynamic.
I get error message, "Specificy the table containing the records you want to
delete"
What do I need to do??
DELETE AKB_TY_TM_DER_HIST.YEAR
FROM AKB_TY_TM_DER_HIST INNER JOIN tbl_HIST_YR ON AKB_TY_TM_DER_HIST.YEAR =
tbl_HIST_YR.YEAR
WHERE (((AKB_TY_TM_DER_HIST.YEAR)=[tbl_HIST_YR]![YEAR]));
thanks
H