• table/control validation

    Author
    Topic
    #352246

    Post deleted by jp2558

    Viewing 0 reply threads
    Author
    Replies
    • #511722

      The rules are additive – if any of them (control, field in a table, or table) fail, then the validation fails. So, no, you don’t need to put validation rules on your controls if they are already on the fields of your tables. Quoting from the Access 2000 help (and it also applies to Access 97):

      [indent]


      Order of validation for controls and fields
      Validation rules for controls and fields are evaluated in the following order:

      Macro or event procedure validation (for example, a macro or an event procedure that responds to the BeforeUpdate event of the control or the form containing the control)

      The control’s ValidationRule property

      The underlying table’s validation rules for the field (as set in the field’s ValidationRule, Required, and AllowZeroLength properties)

      The underlying table’s ValidationRule property (this property performs validation on records)


      [/indent]

    Viewing 0 reply threads
    Reply To: table/control validation

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: