View Single Post
  #2  
Old April 26th, 2010, 08:16 PM posted to microsoft.public.access.gettingstarted
Tom Lake[_2_]
external usenet poster
 
Posts: 96
Default Same value written on all records automatically


"Kim Wennerberg" wrote in message
...
In anticipation of my various Access deatabases being combined someday, I
would like to automatically populate a column on every record with a project
name I decide upon.
-MS Access 2007
-Users create records through forms created using the built-in feature to
create split forms.
-There are about 20 forms which create records for about 20 underlying tables.
-One separate database per project at this time. (Which is what we want for
now because we will not be networking the databases-- each project will be
separate mdbx, sometimes copied and moved around using USB jump drive.)
-It's OK for the value to be set rather manually and technically by me in
code for each copy of the database-- no need for form to create that value.


I'd use an Update Query to set the value on existing records
and change the Default property for the field to the desired value
so future additions would have that value automatically.

Tom Lake