|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
enforcing constraintsAs far as I can tell constraints like uniqueness are only enforced at the
update event. It seems more sensible to enforce them at the row or column change event, i.e. as soon as the person inputing the info makes the mistake. Is there a way to automatically enforce constraints on the row or column change events? rossu wrote:
> As far as I can tell constraints like uniqueness are only enforced at the Or at the insert (or at the delete) event> update event. It seems more sensible to enforce them at the row or column > change event, i.e. as soon as the person inputing the info makes the mistake. Maybe not... because the value of a field might depend on the values of other fields (for example, if the field Status has value of "Cancelled" then the field "DateOfCancellation" can not be null. > Is there a way to automatically enforce constraints on the row or column I might not be such a good idea...> change events? Show quote > > |
|||||||||||||||||||||||