Microsoft KB Archive/89549

{|
 * width="100%"|

PRB: Table Design Does Not Check Validity of Default Value
'Article ID: Q89549

Creation Date: 24-SEP-1992

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access versions 1.0, 1.1, 2.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

The default value in a field is not checked to see that it is a valid entry for that field. For example, if the default value for a Numeric field is 100, and the validation rule for that field states that values in the field must be greater than 1000, the default value of 100 will be accepted even though it violates the field's validation rule.

If you add a new record and press TAB or move past the field containing the default value, the validation rule for the field will not be applied. However, if you make any change to the default value, the validation rule will be correctly applied to the field.

STATUS

This behavior is by design.

REFERENCES

For more information about validation rules, search for &quot;ValidationRule,&quot; and then &quot;Validating Fields and Records in Forms&quot; using the Microsoft Access Help menu.
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 1.00 1.10 2.00

KBCategory: kbusage

KBSubcategory: GnlValid