Deleting all values in a field

C

ChuckW

I have a field called HPProductLine in a table called SBMSALE2008. I want to
delete all values in this field and replace them with null values. There are
80,000 records in this table. I don't want to delete and recreate this
field. How do I do this?

Thanks,
 
K

KARL DEWEY

Backup the database.
Use an update query and in the 'Update To' row of the design grid put NULL.
 
A

Allen Browne

BACKUP FIRST.

1. Create a new query, using this table.

2. Change it to an Update query.
(Update on Query menu.)
Access adds an Update row to the query design grid.

3. In the Update row under your HPProductLine field, enter:
Null

4. Run the query.
 
M

Marshall Barton

ChuckW said:
I have a field called HPProductLine in a table called SBMSALE2008. I want to
delete all values in this field and replace them with null values. There are
80,000 records in this table. I don't want to delete and recreate this
field.


Run an Update query abd set the field to Null?

UPDATE SBMSALE2008 SET HPProductLine = Null
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top