Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to fill a copied table with default data 1

Status
Not open for further replies.

merlynsdad

Programmer
Nov 18, 2010
175
US
I have copied a table from another database into a new db. I've added a field, and want the default data in that field to be "CR". New records will get this default, but is there any way, without writing code, to push the default entry into the existing records? I'm in Access 2003.

If the square peg won't fit in the round hole, sand off the corners.
 
Use an update query, eg:
UPDATE yourTable SET yourField='CR' WHERE yourField IS NULL

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top