D
Dan M
Access XP with SQL Server 2K back end.
Form, bound to table. Field's design specifies nulls not
allowed. Editing bound field, deleting text data and
attempting to save record, record saves.
I understand Access textbox controls pass a zero-length
string rather than a null. SQL Server tables have no easy
setting for not allowing zero-length strings like Jet
tables do.
I have many fields in many tables that do not allow nulls,
and I don't want them to allow zero-length strings
either. However, I'd like to avoid attaching code to each
bound control, or creating hundreds of check constraints.
Isn't there an easier way?
Form, bound to table. Field's design specifies nulls not
allowed. Editing bound field, deleting text data and
attempting to save record, record saves.
I understand Access textbox controls pass a zero-length
string rather than a null. SQL Server tables have no easy
setting for not allowing zero-length strings like Jet
tables do.
I have many fields in many tables that do not allow nulls,
and I don't want them to allow zero-length strings
either. However, I'd like to avoid attaching code to each
bound control, or creating hundreds of check constraints.
Isn't there an easier way?