Hi All,
I have a problem maybe you awesome guys can help with.
I have a query that has 2 seperate tables in it and all it does is show the records that are in both tables. Now it works great but when I show the results and I want to delete those records from the results it says it is read only and it won't delete. I have primary keys on both tables and I am using access 2007. Here is the SQL for the query:
SELECT tblMaster.Company, tblMaster.Street_Number, tblMaster.Street_Name, tblMaster.Suffix, tblMaster.Post_Dir, tblMaster.Unit_Type, tblMaster.Unit_Num, tblMaster.City, tblMaster.State, tblMaster.Zip5
FROM tblCompleted INNER JOIN tblMaster ON tblCompleted.Customer_ID = tblMaster.Customer_ID
WHERE (((tblMaster.Customer_ID)=[tblCompleted]![Customer_ID]))
GROUP BY tblMaster.Company, tblMaster.Street_Number, tblMaster.Street_Name, tblMaster.Suffix, tblMaster.Post_Dir, tblMaster.Unit_Type, tblMaster.Unit_Num, tblMaster.City, tblMaster.State, tblMaster.Zip5
ORDER BY tblMaster.Zip5;
Is there something I am doing wrong? I need tp be able to delete the record(s) out of the tblMaster only; I need this option so if I choose to delete 1 record or more I can with these criterias.
Thanks guys!
I have a problem maybe you awesome guys can help with.
I have a query that has 2 seperate tables in it and all it does is show the records that are in both tables. Now it works great but when I show the results and I want to delete those records from the results it says it is read only and it won't delete. I have primary keys on both tables and I am using access 2007. Here is the SQL for the query:
SELECT tblMaster.Company, tblMaster.Street_Number, tblMaster.Street_Name, tblMaster.Suffix, tblMaster.Post_Dir, tblMaster.Unit_Type, tblMaster.Unit_Num, tblMaster.City, tblMaster.State, tblMaster.Zip5
FROM tblCompleted INNER JOIN tblMaster ON tblCompleted.Customer_ID = tblMaster.Customer_ID
WHERE (((tblMaster.Customer_ID)=[tblCompleted]![Customer_ID]))
GROUP BY tblMaster.Company, tblMaster.Street_Number, tblMaster.Street_Name, tblMaster.Suffix, tblMaster.Post_Dir, tblMaster.Unit_Type, tblMaster.Unit_Num, tblMaster.City, tblMaster.State, tblMaster.Zip5
ORDER BY tblMaster.Zip5;
Is there something I am doing wrong? I need tp be able to delete the record(s) out of the tblMaster only; I need this option so if I choose to delete 1 record or more I can with these criterias.
Thanks guys!