View Full Version : assign a value to all records for a field


laailalalaa
01-15-2010, 05:03 AM
hello,

i just added a new column b (text) to a table tbl(a).

how do i assign a given value "default" to existing records in the table, for column b?

thanks

namliam
01-15-2010, 05:07 AM
Use an update query for the existing records

DCrake
01-15-2010, 05:08 AM
Create an update query to populate the field. Then if you want a default value for every new record then set this in the table properties.

David

laailalalaa
01-15-2010, 05:34 AM
doh, the easiest solution.

i was thinking about some obscure access functions i don't know of:)

thanks