M
Matt P
I am not sure exactly what I need to do to get this delete query to
work. I want to delete the records from tblCities that don't match
tblCompanyAddresses. The error is "Specify the table containing the
records you want to delete."
DELETE tblCities.ID, tblCities.City, tblCities.State,
tblCities.ShowCity
FROM tblCities LEFT JOIN tblCompanyAddresses ON (tblCities.[City] =
tblCompanyAddresses.[City]) AND (tblCities.State =
tblCompanyAddresses.State)
WHERE (((tblCompanyAddresses.City) Is Null));
Thanks for any suggestions!
-Matt P
work. I want to delete the records from tblCities that don't match
tblCompanyAddresses. The error is "Specify the table containing the
records you want to delete."
DELETE tblCities.ID, tblCities.City, tblCities.State,
tblCities.ShowCity
FROM tblCities LEFT JOIN tblCompanyAddresses ON (tblCities.[City] =
tblCompanyAddresses.[City]) AND (tblCities.State =
tblCompanyAddresses.State)
WHERE (((tblCompanyAddresses.City) Is Null));
Thanks for any suggestions!
-Matt P