Jake said:
Recently I've been told most table fields should not be Null Allowed.
Maybe they should - maybe they shouldn't! It's decided entirely on a
case by case basis. There are few if any cases where you would ever
say: "There are too many nullable fields, we'd better remove some", or
"There are not enough nullable fields, we'd better add some".
You define a field as nullable, if and only if it is acceptable for
that field to have no value. For example, in an employee database, you
might have a Hobby field. If you want that *every* employee *must have*
a hobby entry, with *no exceptions*, you make that field a Required
(ie. non nullable) field. But if you want he hobby entry to be
optional, you make it a nullable field (Required=no). The same with
every other field - you choose the setting, field by field.
Does this mean Required property set to Yes
Yes. Required=yes means not nullable, can't be blank, must be present.
Required=no means nullable, can be blank, can be absent.
If this is yes, you can store an empty string ("") in the field. This
is a bad idea for various reasons. You should generally set this to No,
not allowed.
Default value specifiied?
That just says whether th field is given a default (initial) value
automatically, when you create a new record.
How do I make a field not Null Allowed?
Set Required=yes.
HTH,
TC (MVP Access)
http://tc2.atspace.com