Filling all records of a new field in my table with the same data

R

Ricky Gibson

I have a table with about 2000 records.
I have added 2 new fields into the table.
One with TEXT Data Type and one with YES/NO Data Type.
Now I want to fill all the 2000 records of the text field with exactly the
same data.
The records of the yes/no field I want to set all to YES.
I suppose there must be an easy way to do it.

Ricky
 
A

Allen Browne

1. Create a query into this table.

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

3. Drag the new YesNo field into the grid.
In the Update row beneath this field, type:
True

4. Run the query. (Exclamation icon on toolbar.)
 

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