By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,564 Members | 810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,564 IT Pros & Developers. It's quick & easy.

How to Delete records (Access/Excel)

P: 14
Hi! Does anyone know the code of how to delete records in access using excel as reference.
example:

Delete * FROM table1 WHERE table1.ID=excelfile.ID ?

Thanks
Dec 26 '07 #1
Share this Question
Share on Google+
1 Reply


vksingh24
P: 21
Hi! Does anyone know the code of how to delete records in access using excel as reference.
example:

Delete * FROM table1 WHERE table1.ID=excelfile.ID ?

Thanks

1) Create a Link Table in your ms-access database of the EXCEL File
2) Create a Query

DELETE * FROM table1 where table1.[ID] IN (SELECT [ID] FROM ExcelFile);
Dec 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.