How to change one field in all records simultaneously?

G

Guest

I have an existing table of customers; names, addresses, etc.

I've just added a yes/no check box field and titled it "mailing list" so
that I can easily remove people who request to be removed. However, the
default value is No, and I can't find a way of changing all the records to
read 'Yes' in this field.
 
C

Carl Rapson

Reecio85 said:
I have an existing table of customers; names, addresses, etc.

I've just added a yes/no check box field and titled it "mailing list" so
that I can easily remove people who request to be removed. However, the
default value is No, and I can't find a way of changing all the records to
read 'Yes' in this field.

UPDATE
SET [mailing list] = TRUE;

You might also want to change the default value of the field to be True, so
that new records will automatically be set to True.

Carl Rapson
 

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