Default data in a field.

mig144

Registered User.
Local time
Today, 19:56
Joined
Nov 7, 2005
Messages
23
How do I make sure that for every record entered, a certain field automatically has a number 1 in it? I thought that it might be that you set the Default Value to 1 by typing "1" in the bit where it says "Default Value" at the bottom of the page. But this doesn't seem to work. :o
 
I am surprised that you say it does not work because that is exactly how you have access set a default value.

Sam
 
Heavens, you're right. It hadn't done it for existing records, but has for new ones! :)
 
Yes, the default value is for new records only. It does no affect old records.

Sam
 
Just use an Update query to update the nulls for the old records with a 1 in that field.
 

Users who are viewing this thread

Back
Top Bottom