Bill, *every* field in an Access table, with the exception of Boolean
(Yes/No) fields, can hold the value (or, more accurately, non-value)
Null. So text fields can be set to Null, and that is usually the way in
which "no text assigned" is represented.
From a database perspective, there's a significant difference between
Null and "". Consider a text field intended to hold a person's middle
name. A value of Null in this field might be interpreted to mean, "we
don't know what this person't middle name is." A value of "", on the
other hand, might be interpreted to mean, "we know that this person
doesn't have a middle name." This distinction may or may not be
important, depending on the application, but it's important for the
developer to know that the distinction can be made.
In those cases where there is no distinction to be made between a Null
value in a field and a zero-length string in that field -- and that is
most cases in my experience -- it's generally a good idea to disallow
zero-length strings in text fields. That way, you don't need to code
for the distinction; when you want to know whether the field is empty,
you can just check whether the field is Null or not. That simplifies
your coding.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)