I have a large table of data in Access 97 containing about 15,000 records, and I need to delete about 5,000 of them. How can I do this?
You haven’t stated the type of data you have in your database, such as whether the data you want to delete can be grouped into a number of categories. However, we’ll use a simple example that you should be able to apply to your problem.
Assume that you have lots of records in a database that simply store a person’s first name, last name, address and the town that person lives in, which in this example will be Albury, Wodonga or Lavington. We’ll assume we wish to delete all records from Lavington. In Access 97 and earlier, this is achieved very easily with a query. The query will simply bring up those who live in Lavington, and from there we can delete the records. Keep in mind that these records are permanently deleted. Here’s how to extract the data for all records in Lavington:
-
With the database task list showing, click the Queries tab and click the New button.
-
Leave Design View selected, then click OK.
-
Select the table you want to add to the query list, click the Add button then click the Close button.
-
Double-click each field in the table to add them to the query columns. In our example, we just want to double-click First name, Last Name and Town. Note that you don’t need to include all fields in order to eventually delete the required records.
-
Now we’ll extract the records we want to delete. Click inside the Criteria section under the field you want to query on, which in this case is Town.
-
Type the parameter we are querying, which is Lavington under the Town field. Your screen should look something like this:

-
Click the Run button in the toolbar,
, and the extracted data will appear.
Now we’ll delete the data.
-
With the query results showing in a table, select the Edit menu then Select All Records, or press (Ctrl)(A) which will select all data showing in the table.
-
Press the [Delete] key on your keyboard. A message appears asking you to confirm your deletion. Click Yes and the records are deleted.
-
Close down the query and save it if you want to.
-
Click the Tables tab and double-click the original table to see that the records you deleted are in fact gone.
// Related Posted - GOOGLE!
Related Websites
- Loreto Fishing Chart & Guide User Reviews Send this to a friend Loreto Fishing Chart & Guide Manufacturer: Baja Customer Rating: List Price: $9.95 Sale...
- Choosing a Spot to Hunt One of the things that is most fascinating when it comes to going hunting is to choose the right hunting...
- How to Erase History on Computer [/caption]Erasing the details of the history on your computer not only frees up a lot of hard drive space that...
- The Pirates Love Their Fans - And Wrigley Field It's late August, and the Pittsburgh Pirates have clinched another losing season - the 18th year in a row that...
- How to save printer ink For those used to print many pages on a printer ink, spending on replacement cartridges, or refill kits can be...
