fill each record with same field entry after records already exist

G

Guest

How would I apply a given value to a newly created field of an existing table
with existing records. The value would be the same for all records.

I understand that for all new records I can simply set the default value in
design view to the desired value but I do not know how to automatically apply
this value to existing records.
 
R

Rick Brandt

Susan said:
How would I apply a given value to a newly created field of an existing table
with existing records. The value would be the same for all records.

I understand that for all new records I can simply set the default value in
design view to the desired value but I do not know how to automatically apply
this value to existing records.

Use an Update query.

UPDATE TableName
SET FieldName = Value
 

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