Under Tools/Options/Edit/Find there are three checkboxes under Confirm which allow you to suppress the confirmation messages. However, these will affect all confirmations throughout your system. You may not want the messages to be suppressed everywhere.<br><br>If you want to be more selective about suppressing the message, create a delete query that will delete the selected record. Let's say it's called "qryDeleteRecord". Then write some VBCode that looks like this:<br><br>Docmd.SetWarnings Off<br>Docmd.OpenQuery "qryDeleteRecord"<br>Docmd.SetWarnings On<br><br>and put it in whichever event makes sense logically within your application.
First back up your table! It sounds like you're very new to Access. ;-)<br><br>In the database window, click on the Queries tab. Click on the New button. Choose Design View and click OK. Select the table that you want to delete a record from. Click Add. Click Close. Double click on the * in the table that shows up in the upper part of the query window. From the Menu Bar, click Query and then Delete Query. Fill in the criterion row in your query so that you will select the correct record for deletion. Click on File/Save and name your query. You now have a query that will delete a record from a query.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.