delete queries
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Delete Queries

Delete Queries

resolvedResolved · Low Priority · Version Standard

replyReply Fri 7 Mar 2008, 16:47Delegate Lisa said...

Lisa has attended:
Access Intermediate course

Delete Queries

How do you create a delete query?

For upcoming training course dates see: Pricing & availability

replyReply Wed 19 Mar 2008, 09:38Trainer Pete said...

RE: Delete Queries

Hi Lisa, Thank you for the post, welcome to the forum, to create a Delete Query follow these steps;
1. In the database window click on the Queries object and then on the New Query button.
2. In the New Query dialog box, choose Design View and click OK.
3. In the show table dialog box, select the table that contains the fields that you want to use and click on the Add button. Add any other tables you wish to use.
4. When all tables have been added to the Query Design window, click on the Close button.
5. Add the fields to the Field Row in the design grid. and specify the criteria required.
6. Click the Run Button or choose Query> Run command. This will run the query initially as a Select Query so that you can verify exactly which records will eventually be deleted from the relevant table.
7. Convert the Select Query to a Delete Query by selecting the Delete Query option from the Query Type list or by choosing the Query> Delete Query command.
8. Click on the Run button or choose Query> Run command to carry out the query. you will be given a warning, if you wish to continue click on the Yes button to delete the records or No to cancel the operation.
I hope that helps, best regards Pete.

 

Please browse our web site to find out more about
access vba courses and other Microsoft training courses.

Access tip:

Hide Access Tables

One method of stopping your Access tables appearing in Database window, is to rename the table(s) with the prefix usys.

This converts the table into a system object, which cannot be viewed in the Database window.

You can show system objects in the Database window by the following:

Step 1: On the Tools menu, click Options.
Step 2: Click the View tab.
Under Show, select the System Objects check box.
Click OK.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard